Battery Status API: add UMA logging for Linux.
[chromium-blink-merge.git] / content / browser / bootstrap_sandbox_mac.h
blobffb6a6160c16d3e1b09fc6c94e406c3474e67e10
1 // Copyright 2014 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 CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MAC_H_
6 #define CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MAC_H_
8 namespace sandbox {
9 class BootstrapSandbox;
12 namespace content {
14 // Whether or not the bootstrap sandbox should be enabled.
15 bool ShouldEnableBootstrapSandbox();
17 // Returns the singleton instance of the BootstrapSandox. The returned object
18 // is thread-safe.
19 // On the first call to this function, the sandbox will be created and all
20 // the policies will be registered with it.
21 sandbox::BootstrapSandbox* GetBootstrapSandbox();
23 } // namespace content
25 #endif // CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MAC_H_