js/xpconnect/src/XPCForwards.h

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 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     2 /* vim: set ts=8 sts=4 et sw=4 tw=99: */
     3 /* This Source Code Form is subject to the terms of the Mozilla Public
     4  * License, v. 2.0. If a copy of the MPL was not distributed with this
     5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     7 /* Private forward declarations. */
     9 #ifndef xpcforwards_h___
    10 #define xpcforwards_h___
    12 // forward declarations of interally used classes...
    14 class nsXPConnect;
    15 class XPCJSRuntime;
    16 class XPCContext;
    17 class XPCCallContext;
    19 class XPCJSThrower;
    21 class nsXPCWrappedJS;
    22 class nsXPCWrappedJSClass;
    24 class XPCNativeMember;
    25 class XPCNativeInterface;
    26 class XPCNativeSet;
    28 class XPCWrappedNative;
    29 class XPCWrappedNativeProto;
    30 class XPCWrappedNativeTearOff;
    31 class XPCNativeScriptableShared;
    32 class XPCNativeScriptableInfo;
    33 class XPCNativeScriptableCreateInfo;
    35 class XPCTraceableVariant;
    36 class XPCJSObjectHolder;
    38 class JSObject2WrappedJSMap;
    39 class Native2WrappedNativeMap;
    40 class IID2WrappedJSClassMap;
    41 class IID2NativeInterfaceMap;
    42 class ClassInfo2NativeSetMap;
    43 class ClassInfo2WrappedNativeProtoMap;
    44 class NativeSetMap;
    45 class IID2ThisTranslatorMap;
    46 class XPCNativeScriptableSharedMap;
    47 class XPCWrappedNativeProtoMap;
    48 class JSObject2JSObjectMap;
    50 class nsXPCComponents;
    51 class nsXPCComponents_Interfaces;
    52 class nsXPCComponents_InterfacesByID;
    53 class nsXPCComponents_Classes;
    54 class nsXPCComponents_ClassesByID;
    55 class nsXPCComponents_Results;
    56 class nsXPCComponents_ID;
    57 class nsXPCComponents_Exception;
    58 class nsXPCComponents_Constructor;
    59 class nsXPCComponents_Utils;
    60 class nsXPCConstructor;
    62 class AutoMarkingPtr;
    64 class xpcProperty;
    66 #endif /* xpcforwards_h___ */

mercurial