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 2004-2010 Apple Computer, Inc., Mozilla Foundation, and Opera
3 * Software ASA.
4 *
5 * You are granted a license to use, reproduce and create derivative works of
6 * this document.
7 */
9 #ifndef nsHtml5NamedCharactersAccel_h
10 #define nsHtml5NamedCharactersAccel_h
12 #include "jArray.h"
13 #include "nscore.h"
14 #include "nsDebug.h"
15 #include "prlog.h"
16 #include "nsMemory.h"
18 class nsHtml5NamedCharactersAccel
19 {
20 public:
21 static const int32_t* const HILO_ACCEL[];
22 };
24 #endif // nsHtml5NamedCharactersAccel_h