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 **********************************************************************
3 * Copyright (C) 2000-2004, International Business Machines Corporation
4 * and others. All Rights Reserved.
5 **********************************************************************
7 Get a message out of the default resource bundle, messageformat it,
8 and print it to stderr
9 */
11 #ifndef _UWMSG
12 #define _UWMSG
14 #include <stdio.h>
16 #include "unicode/ures.h"
18 /* Set the path to wmsg's bundle.
19 Caller owns storage.
20 */
21 U_CFUNC UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err);
23 /* Format a message and print it's output to a given file stream */
24 U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... );
26 /* format an error message */
27 U_CFUNC const UChar* u_wmsg_errorName(UErrorCode err);
29 #endif