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-2006, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 */
8 #include "unicode/utypes.h"
10 #if !UCONFIG_NO_CONVERSION
12 #include "csrecog.h"
14 U_NAMESPACE_BEGIN
16 CharsetRecognizer::~CharsetRecognizer()
17 {
18 // nothing to do.
19 }
21 const char *CharsetRecognizer::getLanguage() const
22 {
23 return "";
24 }
26 U_NAMESPACE_END
28 #endif