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.
michael@0 | 1 | |
michael@0 | 2 | /* |
michael@0 | 3 | * Copyright 2006 The Android Open Source Project |
michael@0 | 4 | * |
michael@0 | 5 | * Use of this source code is governed by a BSD-style license that can be |
michael@0 | 6 | * found in the LICENSE file. |
michael@0 | 7 | */ |
michael@0 | 8 | |
michael@0 | 9 | |
michael@0 | 10 | #ifndef SkIntArray_DEFINED |
michael@0 | 11 | #define SkIntArray_DEFINED |
michael@0 | 12 | |
michael@0 | 13 | #include "SkColor.h" |
michael@0 | 14 | #include "SkDisplayType.h" |
michael@0 | 15 | #include "SkMath.h" |
michael@0 | 16 | #include "SkTDArray_Experimental.h" |
michael@0 | 17 | |
michael@0 | 18 | class SkActive; |
michael@0 | 19 | class SkAnimateBase; |
michael@0 | 20 | class SkDataInput; |
michael@0 | 21 | class SkDisplayable; |
michael@0 | 22 | class SkDisplayEvent; |
michael@0 | 23 | class SkDrawable; |
michael@0 | 24 | class SkDrawColor; |
michael@0 | 25 | class SkMatrixPart; |
michael@0 | 26 | struct SkMemberInfo; |
michael@0 | 27 | class SkPathPart; |
michael@0 | 28 | class SkPaintPart; |
michael@0 | 29 | class SkTypedArray; |
michael@0 | 30 | class SkString; |
michael@0 | 31 | union SkOperand; |
michael@0 | 32 | |
michael@0 | 33 | typedef SkIntArray(int) SkTDIntArray; |
michael@0 | 34 | typedef SkIntArray(SkColor) SkTDColorArray; |
michael@0 | 35 | typedef SkIntArray(SkDisplayTypes) SkTDDisplayTypesArray; |
michael@0 | 36 | typedef SkIntArray(SkMSec) SkTDMSecArray; |
michael@0 | 37 | typedef SkIntArray(SkScalar) SkTDScalarArray; |
michael@0 | 38 | |
michael@0 | 39 | typedef SkLongArray(SkActive*) SkTDActiveArray; |
michael@0 | 40 | typedef SkLongArray(SkAnimateBase*) SkTDAnimateArray; |
michael@0 | 41 | typedef SkLongArray(SkDataInput*) SkTDDataArray; |
michael@0 | 42 | typedef SkLongArray(SkDisplayable*) SkTDDisplayableArray; |
michael@0 | 43 | typedef SkLongArray(SkDisplayEvent*) SkTDDisplayEventArray; |
michael@0 | 44 | typedef SkLongArray(SkDrawable*) SkTDDrawableArray; |
michael@0 | 45 | typedef SkLongArray(SkDrawColor*) SkTDDrawColorArray; |
michael@0 | 46 | typedef SkLongArray(SkMatrixPart*) SkTDMatrixPartArray; |
michael@0 | 47 | typedef SkLongArray(const SkMemberInfo*) SkTDMemberInfoArray; |
michael@0 | 48 | typedef SkLongArray(SkPaintPart*) SkTDPaintPartArray; |
michael@0 | 49 | typedef SkLongArray(SkPathPart*) SkTDPathPartArray; |
michael@0 | 50 | typedef SkLongArray(SkTypedArray*) SkTDTypedArrayArray; |
michael@0 | 51 | typedef SkLongArray(SkString*) SkTDStringArray; |
michael@0 | 52 | typedef SkLongArray(SkOperand) SkTDOperandArray; |
michael@0 | 53 | typedef SkLongArray(SkOperand*) SkTDOperandPtrArray; |
michael@0 | 54 | |
michael@0 | 55 | #endif // SkIntArray_DEFINED |