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) 1999
3 * Silicon Graphics Computer Systems, Inc.
4 *
5 * Copyright (c) 1999
6 * Boris Fomitchev
7 *
8 * This material is provided "as is", with absolutely no warranty expressed
9 * or implied. Any use is at your own risk.
10 *
11 * Permission to use or copy this software for any purpose is hereby granted
12 * without fee, provided the above notices are retained on all copies.
13 * Permission to modify the code and to distribute modified code is granted,
14 * provided the above notices are retained, and a notice that the code was
15 * modified is included with the above copyright notice.
16 *
17 */
18 # include "stlport_prefix.h"
20 #include <istream>
22 _STLP_BEGIN_NAMESPACE
24 #if !defined(_STLP_NO_FORCE_INSTANTIATE)
26 // instantiations
27 # if defined (_STLP_USE_TEMPLATE_EXPORT)
28 template class _STLP_CLASS_DECLSPEC _Isentry<char, char_traits<char> >;
29 # endif
31 template class _STLP_CLASS_DECLSPEC basic_iostream<char, char_traits<char> >;
32 template class _STLP_CLASS_DECLSPEC basic_istream<char, char_traits<char> >;
34 # if !defined (_STLP_NO_WCHAR_T)
35 # if defined (_STLP_USE_TEMPLATE_EXPORT)
36 template class _STLP_CLASS_DECLSPEC _Isentry<wchar_t, char_traits<wchar_t> >;
37 # endif
38 template class _STLP_CLASS_DECLSPEC basic_istream<wchar_t, char_traits<wchar_t> >;
39 template class _STLP_CLASS_DECLSPEC basic_iostream<wchar_t, char_traits<wchar_t> >;
40 # endif /* !_STLP_NO_WCHAR_T */
42 #endif /* _STLP_NO_FORCE_INSTANTIATE */
44 _STLP_END_NAMESPACE
46 // Local Variables:
47 // mode:C++
48 // End: