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 | /* The following defines are only used by the xpcom implementation */ |
michael@0 | 6 | |
michael@0 | 7 | #ifndef _XPCOM_PRIVATE_H_ |
michael@0 | 8 | #define _XPCOM_PRIVATE_H_ |
michael@0 | 9 | |
michael@0 | 10 | /* Define if getpagesize() is available */ |
michael@0 | 11 | #undef HAVE_GETPAGESIZE |
michael@0 | 12 | |
michael@0 | 13 | /* Define if iconv() is available */ |
michael@0 | 14 | #undef HAVE_ICONV |
michael@0 | 15 | |
michael@0 | 16 | /* Define if iconv() supports const input */ |
michael@0 | 17 | #undef HAVE_ICONV_WITH_CONST_INPUT |
michael@0 | 18 | |
michael@0 | 19 | /* Define if mbrtowc() is available */ |
michael@0 | 20 | #undef HAVE_MBRTOWC |
michael@0 | 21 | |
michael@0 | 22 | /* Define if wcrtomb() is available */ |
michael@0 | 23 | #undef HAVE_WCRTOMB |
michael@0 | 24 | |
michael@0 | 25 | /* Define if statvfs64() is available */ |
michael@0 | 26 | #undef HAVE_STATVFS64 |
michael@0 | 27 | |
michael@0 | 28 | /* Define if statvfs() is available */ |
michael@0 | 29 | #undef HAVE_STATVFS |
michael@0 | 30 | |
michael@0 | 31 | /* Define if statfs64() is available */ |
michael@0 | 32 | #undef HAVE_STATFS64 |
michael@0 | 33 | |
michael@0 | 34 | /* Define if statfs() is available */ |
michael@0 | 35 | #undef HAVE_STATFS |
michael@0 | 36 | |
michael@0 | 37 | /* Define if <sys/statvfs.h> is present */ |
michael@0 | 38 | #undef HAVE_SYS_STATVFS_H |
michael@0 | 39 | |
michael@0 | 40 | /* Define if <sys/statfs.h> is present */ |
michael@0 | 41 | #undef HAVE_SYS_STATFS_H |
michael@0 | 42 | |
michael@0 | 43 | /* Define if <sys/vfs.h> is present */ |
michael@0 | 44 | #undef HAVE_SYS_VFS_H |
michael@0 | 45 | |
michael@0 | 46 | /* Define if <sys/mount.h> is present */ |
michael@0 | 47 | #undef HAVE_SYS_MOUNT_H |
michael@0 | 48 | |
michael@0 | 49 | #endif /* _XPCOM_PRIVATE_H_ */ |
michael@0 | 50 |