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.
1 #define MAJOR_VERSION 1
2 #define MINOR_VERSION 2
3 #define BUILD_VERSION 0
4 #define BUILD_REVISION 2431
6 #define STRINGIFY(x) #x
7 #define MACRO_STRINGIFY(x) STRINGIFY(x)
9 #define REVISION_STRING MACRO_STRINGIFY(BUILD_REVISION)
10 #define VERSION_STRING MACRO_STRINGIFY(MAJOR_VERSION) "." MACRO_STRINGIFY(MINOR_VERSION) "." MACRO_STRINGIFY(BUILD_VERSION) "." MACRO_STRINGIFY(BUILD_REVISION)
12 #define VERSION_DWORD ((MAJOR_VERSION << 24) | (MINOR_VERSION << 16) | BUILD_REVISION)