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 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | #include "sqlite3.h" |
michael@0 | 6 | #include "sqlite-version.h" |
michael@0 | 7 | #include <winver.h> |
michael@0 | 8 | |
michael@0 | 9 | #define SQLITE_COMPANY_NAME "sqlite.org" |
michael@0 | 10 | #define SQLITE_INTERNAL_NAME "sqlite3" |
michael@0 | 11 | #define SQLITE_FILEDESCRIPTION "SQLite Database Library" |
michael@0 | 12 | |
michael@0 | 13 | #define MY_FILEOS VOS_NT_WINDOWS32 |
michael@0 | 14 | |
michael@0 | 15 | ///////////////////////////////////////////////////////////////////////////// |
michael@0 | 16 | // |
michael@0 | 17 | // Version-information resource |
michael@0 | 18 | // |
michael@0 | 19 | |
michael@0 | 20 | VS_VERSION_INFO VERSIONINFO |
michael@0 | 21 | |
michael@0 | 22 | FILEVERSION SQLITE_VERSION_MAJOR,SQLITE_VERSION_MINOR,SQLITE_VERSION_PATCH,SQLITE_VERSION_SUBPATCH |
michael@0 | 23 | PRODUCTVERSION SQLITE_VERSION_MAJOR,SQLITE_VERSION_MINOR,SQLITE_VERSION_PATCH,SQLITE_VERSION_SUBPATCH |
michael@0 | 24 | FILEOS MY_FILEOS |
michael@0 | 25 | FILETYPE VFT_DLL |
michael@0 | 26 | |
michael@0 | 27 | BEGIN |
michael@0 | 28 | BLOCK "StringFileInfo" |
michael@0 | 29 | BEGIN |
michael@0 | 30 | BLOCK "040904B0" // Lang=US English, CharSet=Unicode |
michael@0 | 31 | BEGIN |
michael@0 | 32 | VALUE "CompanyName", SQLITE_COMPANY_NAME "\0" |
michael@0 | 33 | VALUE "FileDescription", SQLITE_FILEDESCRIPTION "\0" |
michael@0 | 34 | VALUE "FileVersion", SQLITE_VERSION "\0" |
michael@0 | 35 | VALUE "InternalName", SQLITE_INTERNAL_NAME "\0" |
michael@0 | 36 | VALUE "OriginalFilename", SQLITE_INTERNAL_NAME ".dll\0" |
michael@0 | 37 | VALUE "ProductName", SQLITE_FILEDESCRIPTION "\0" |
michael@0 | 38 | VALUE "ProductVersion", SQLITE_VERSION "\0" |
michael@0 | 39 | END |
michael@0 | 40 | END |
michael@0 | 41 | BLOCK "VarFileInfo" |
michael@0 | 42 | BEGIN |
michael@0 | 43 | VALUE "Translation", 0x409, 1200 |
michael@0 | 44 | END |
michael@0 | 45 | END |