xpcom/xpcom-config.h.in

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 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 /* Global defines needed by xpcom clients */
     7 #ifndef _XPCOM_CONFIG_H_
     8 #define _XPCOM_CONFIG_H_
    10 /* Define this to throw() if the compiler complains about 
    11  * constructors returning NULL
    12  */
    13 #undef CPP_THROW_NEW
    15 /* Define if the c++ compiler can resolve ambiguity with |using| */
    16 #undef HAVE_CPP_AMBIGUITY_RESOLVING_USING
    18 /* Define if a dyanmic_cast to void* gives the most derived object */
    19 #undef HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR
    21 /* Define if the c++ compiler has trouble comparing a constant
    22  * reference to a templatized class to zero
    23  */
    24 #undef HAVE_CPP_TROUBLE_COMPARING_TO_ZERO
    26 /* Define if the c++ compiler requires implementations of 
    27  * unused virtual methods
    28  */
    29 #undef NEED_CPP_UNUSED_IMPLEMENTATIONS
    31 /* Define to either __attribute__((malloc)) or nothing */
    32 #undef NS_ATTR_MALLOC
    34 /* Define to either __attribute__((warn_unused_result)) or nothing */
    35 #undef NS_WARN_UNUSED_RESULT
    37 #endif /* _XPCOM_CONFIG_H_ */

mercurial