Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
michael@0 | 1 | #define MAJOR_VERSION 1 |
michael@0 | 2 | #define MINOR_VERSION 2 |
michael@0 | 3 | #define BUILD_VERSION 0 |
michael@0 | 4 | #define BUILD_REVISION 2431 |
michael@0 | 5 | |
michael@0 | 6 | #define STRINGIFY(x) #x |
michael@0 | 7 | #define MACRO_STRINGIFY(x) STRINGIFY(x) |
michael@0 | 8 | |
michael@0 | 9 | #define REVISION_STRING MACRO_STRINGIFY(BUILD_REVISION) |
michael@0 | 10 | #define VERSION_STRING MACRO_STRINGIFY(MAJOR_VERSION) "." MACRO_STRINGIFY(MINOR_VERSION) "." MACRO_STRINGIFY(BUILD_VERSION) "." MACRO_STRINGIFY(BUILD_REVISION) |
michael@0 | 11 | |
michael@0 | 12 | #define VERSION_DWORD ((MAJOR_VERSION << 24) | (MINOR_VERSION << 16) | BUILD_REVISION) |