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 * Copyright (C) 2005-2011, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 ********************************************************************************
6 *
7 * File WINTZ.H
8 *
9 ********************************************************************************
10 */
12 #ifndef __WINTZ
13 #define __WINTZ
15 #include "unicode/utypes.h"
17 #if U_PLATFORM_HAS_WIN32_API
19 /**
20 * \file
21 * \brief C API: Utilities for dealing w/ Windows time zones.
22 */
24 U_CDECL_BEGIN
25 /* Forward declarations for Windows types... */
26 typedef struct _TIME_ZONE_INFORMATION TIME_ZONE_INFORMATION;
27 U_CDECL_END
29 U_CFUNC const char* U_EXPORT2
30 uprv_detectWindowsTimeZone();
32 #endif /* U_PLATFORM_HAS_WIN32_API */
34 #endif /* __WINTZ */