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 /******************************************************************************
2 * Copyright (C) 2008-2012, International Business Machines
3 * Corporation and others. All Rights Reserved.
4 *******************************************************************************
5 */
7 #ifndef __PKG_ICU_H__
8 #define __PKG_ICU_H__
10 #include "unicode/utypes.h"
12 #define U_PKG_RESERVED_CHARS "\"%&'()*+,-./:;<=>?_"
14 U_CAPI int U_EXPORT2
15 writePackageDatFile(const char *outFilename, const char *outComment,
16 const char *sourcePath, const char *addList, icu::Package *pkg,
17 char outType);
19 U_CAPI icu::Package * U_EXPORT2
20 readList(const char *filesPath, const char *listname, UBool readContents, icu::Package *listPkgIn);
22 #endif