intl/icu/source/tools/genrb/parse.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 /*
     2 *******************************************************************************
     3 *
     4 *   Copyright (C) 1998-2014, International Business Machines
     5 *   Corporation and others.  All Rights Reserved.
     6 *
     7 *******************************************************************************
     8 *
     9 * File parse.h
    10 *
    11 * Modification History:
    12 *
    13 *   Date        Name        Description
    14 *   05/26/99    stephen     Creation.
    15 *******************************************************************************
    16 */
    18 #ifndef PARSE_H
    19 #define PARSE_H 1
    21 #include "unicode/utypes.h"
    22 #include "filestrm.h"
    23 #include "ucbuf.h"
    25 U_CDECL_BEGIN
    26 /* One time parser initalisation */
    27 void initParser();
    29 /* Parse a ResourceBundle text file */
    30 struct SRBRoot* parse(UCHARBUF *buf, const char* inputDir, const char* outputDir,
    31                       UBool makeBinaryCollation, UBool omitCollationRules, UErrorCode *status);
    33 U_CDECL_END
    35 #endif

mercurial