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 | #ifndef __gl2platform_h_ |
michael@0 | 2 | #define __gl2platform_h_ |
michael@0 | 3 | |
michael@0 | 4 | /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ |
michael@0 | 5 | |
michael@0 | 6 | /* |
michael@0 | 7 | * This document is licensed under the SGI Free Software B License Version |
michael@0 | 8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . |
michael@0 | 9 | */ |
michael@0 | 10 | |
michael@0 | 11 | /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h |
michael@0 | 12 | * |
michael@0 | 13 | * Adopters may modify khrplatform.h and this file to suit their platform. |
michael@0 | 14 | * You are encouraged to submit all modifications to the Khronos group so that |
michael@0 | 15 | * they can be included in future versions of this file. Please submit changes |
michael@0 | 16 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) |
michael@0 | 17 | * by filing a bug against product "OpenGL-ES" component "Registry". |
michael@0 | 18 | */ |
michael@0 | 19 | |
michael@0 | 20 | #include <KHR/khrplatform.h> |
michael@0 | 21 | |
michael@0 | 22 | #ifndef GL_APICALL |
michael@0 | 23 | #define GL_APICALL KHRONOS_APICALL |
michael@0 | 24 | #endif |
michael@0 | 25 | |
michael@0 | 26 | #ifndef GL_APIENTRY |
michael@0 | 27 | #define GL_APIENTRY KHRONOS_APIENTRY |
michael@0 | 28 | #endif |
michael@0 | 29 | |
michael@0 | 30 | #endif /* __gl2platform_h_ */ |