OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MANAGER_MAC_H_ | 5 #ifndef CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MANAGER_MAC_H_ |
6 #define CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MANAGER_MAC_H_ | 6 #define CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MANAGER_MAC_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
10 #include "content/public/browser/browser_child_process_observer.h" | 11 #include "content/public/browser/browser_child_process_observer.h" |
11 #include "content/public/browser/render_process_host_observer.h" | 12 #include "content/public/browser/render_process_host_observer.h" |
12 #include "content/public/common/sandbox_type.h" | 13 #include "content/public/common/sandbox_type.h" |
13 | 14 |
14 namespace sandbox { | 15 namespace sandbox { |
15 class BootstrapSandbox; | 16 class BootstrapSandbox; |
16 struct BootstrapSandboxPolicy; | 17 struct BootstrapSandboxPolicy; |
17 } | 18 } |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 void AddBaselinePolicy(sandbox::BootstrapSandboxPolicy* policy); | 61 void AddBaselinePolicy(sandbox::BootstrapSandboxPolicy* policy); |
61 | 62 |
62 scoped_ptr<sandbox::BootstrapSandbox> sandbox_; | 63 scoped_ptr<sandbox::BootstrapSandbox> sandbox_; |
63 | 64 |
64 DISALLOW_COPY_AND_ASSIGN(BootstrapSandboxManager); | 65 DISALLOW_COPY_AND_ASSIGN(BootstrapSandboxManager); |
65 }; | 66 }; |
66 | 67 |
67 } // namespace content | 68 } // namespace content |
68 | 69 |
69 #endif // CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MANAGER_MAC_H_ | 70 #endif // CONTENT_BROWSER_BOOTSTRAP_SANDBOX_MANAGER_MAC_H_ |
OLD | NEW |