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 /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
2 /* vim: set ts=2 et sw=2 tw=40: */
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 #ifndef mozilla_dom_telephony_telephonycommon_h__
8 #define mozilla_dom_telephony_telephonycommon_h__
10 #include "mozilla/Attributes.h"
11 #include "mozilla/DOMEventTargetHelper.h"
12 #include "mozilla/ErrorResult.h"
13 #include "nsAutoPtr.h"
14 #include "nsCOMPtr.h"
15 #include "nsCycleCollectionParticipant.h"
16 #include "nsDebug.h"
17 #include "nsString.h"
18 #include "nsTArray.h"
20 #define BEGIN_TELEPHONY_NAMESPACE \
21 namespace mozilla { namespace dom { namespace telephony {
22 #define END_TELEPHONY_NAMESPACE \
23 } /* namespace telephony */ } /* namespace dom */ } /* namespace mozilla */
24 #define USING_TELEPHONY_NAMESPACE \
25 using namespace mozilla::dom::telephony;
27 namespace mozilla {
28 namespace dom {
30 namespace telephony {
32 enum {
33 kOutgoingPlaceholderCallIndex = UINT32_MAX
34 };
36 } // namespace telephony
38 class CallsList;
39 class Telephony;
40 class TelephonyCall;
41 class TelephonyCallGroup;
43 } // namespace dom
44 } // namespace mozilla
46 #endif // mozilla_dom_telephony_telephonycommon_h__