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. 4 5 #ifndef CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MAC_H_ 6 #define CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MAC_H_ 7 8 namespace sandbox { 9 class BootstrapSandbox; 10 } 11 12 namespace content { 13 14 // Whether or not the bootstrap sandbox should be enabled. 15 bool ShouldEnableBootstrapSandbox(); 16 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(); 22 23 } // namespace content 24 25 #endif // CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MAC_H_ 26