blob: ffb6a6160c16d3e1b09fc6c94e406c3474e67e10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MAC_H_
#define CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MAC_H_
namespace sandbox {
class BootstrapSandbox;
}
namespace content {
// Whether or not the bootstrap sandbox should be enabled.
bool ShouldEnableBootstrapSandbox();
// Returns the singleton instance of the BootstrapSandox. The returned object
// is thread-safe.
// On the first call to this function, the sandbox will be created and all
// the policies will be registered with it.
sandbox::BootstrapSandbox* GetBootstrapSandbox();
} // namespace content
#endif // CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MAC_H_
|