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 #ifndef mozilla_psm__CryptoUtil_h
2 #define mozilla_psm__CryptoUtil_h
4 #include <mozilla/RefPtr.h>
5 #include "mozilla/Types.h"
7 #ifdef MOZILLA_INTERNAL_API
8 #define MOZ_CRYPTO_API(x) MOZ_EXPORT_API(x)
9 #else
10 #define MOZ_CRYPTO_API(x) MOZ_IMPORT_API(x)
11 #endif
13 #endif // mozilla_psm__CryptoUtil_h