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 *******************************************************************************
3 *
4 * Copyright (C) 2009, International Business Machines
5 * Corporation and others. All Rights Reserved.
6 *
7 *******************************************************************************
8 * file name: filetools.h
9 * encoding: US-ASCII
10 * tab size: 8 (not used)
11 * indentation:4
12 *
13 * created on: 2009jan09
14 * created by: Michael Ow
15 *
16 * Contains various functions to handle files.
17 * Not suitable for production use. Not supported.
18 * Not conformant. Not efficient.
19 */
21 #ifndef __FILETOOLS_H__
22 #define __FILETOOLS_H__
24 #include "unicode/utypes.h"
26 U_CAPI UBool U_EXPORT2
27 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir=FALSE);
29 U_CAPI void U_EXPORT2
30 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar);
32 #endif