Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef SANDBOX_WIN_SRC_SYNC_POLICY_TEST_H_
6 #define SANDBOX_WIN_SRC_SYNC_POLICY_TEST_H_
8 #include "sandbox/win/tests/common/controller.h"
10 namespace sandbox {
12 // Opens the named event received on argv[1]. The requested access is
13 // EVENT_ALL_ACCESS if argv[0] starts with 'f', or SYNCHRONIZE otherwise.
14 SBOX_TESTS_COMMAND int Event_Open(int argc, wchar_t **argv);
16 } // namespace sandbox
18 #endif // SANDBOX_WIN_SRC_SYNC_POLICY_TEST_H_