build/stlport/src/ostream.cpp

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

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 <ostream>
    22 _STLP_BEGIN_NAMESPACE
    24 #if !defined(_STLP_NO_FORCE_INSTANTIATE)
    26 // instantiations
    27 template class _STLP_CLASS_DECLSPEC basic_ostream<char, char_traits<char> >;
    29 # if defined (_STLP_USE_TEMPLATE_EXPORT)
    30 template  class _STLP_CLASS_DECLSPEC _Osentry<char, char_traits<char> >;
    31 # endif
    33 #ifndef _STLP_NO_WCHAR_T
    35 # if defined (_STLP_USE_TEMPLATE_EXPORT)
    36 template class _STLP_CLASS_DECLSPEC _Osentry<wchar_t, char_traits<wchar_t> >;
    37 # endif
    38 template class _STLP_CLASS_DECLSPEC basic_ostream<wchar_t, char_traits<wchar_t> >;
    39 #endif
    41 #endif
    43 _STLP_END_NAMESPACE
    45 // Local Variables:
    46 // mode:C++
    47 // End:

mercurial