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 #include "precompiled.h"
2 //
3 // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style license that can be
5 // found in the LICENSE file.
6 //
8 // BufferStorage.cpp Defines the abstract BufferStorage class.
10 #include "libGLESv2/renderer/BufferStorage.h"
12 namespace rx
13 {
15 unsigned int BufferStorage::mNextSerial = 1;
17 BufferStorage::BufferStorage()
18 {
19 updateSerial();
20 }
22 BufferStorage::~BufferStorage()
23 {
24 }
26 unsigned int BufferStorage::getSerial() const
27 {
28 return mSerial;
29 }
31 void BufferStorage::updateSerial()
32 {
33 mSerial = mNextSerial++;
34 }
36 void BufferStorage::markBufferUsage()
37 {
38 }
40 }