OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_ | 5 #ifndef CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_SECCOMP_BPF_LINUX_H_ |
6 #define CONTENT_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_ | 6 #define CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_SECCOMP_BPF_LINUX_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 | 12 |
13 namespace sandbox { | 13 namespace sandbox { |
14 class SandboxBPFPolicy; | 14 class SandboxBPFPolicy; |
15 } | 15 } |
16 | 16 |
(...skipping 25 matching lines...) Expand all Loading... |
42 scoped_ptr<sandbox::SandboxBPFPolicy> policy); | 42 scoped_ptr<sandbox::SandboxBPFPolicy> policy); |
43 // The "baseline" policy can be a useful base to build a sandbox policy. | 43 // The "baseline" policy can be a useful base to build a sandbox policy. |
44 static scoped_ptr<sandbox::SandboxBPFPolicy> GetBaselinePolicy(); | 44 static scoped_ptr<sandbox::SandboxBPFPolicy> GetBaselinePolicy(); |
45 | 45 |
46 private: | 46 private: |
47 DISALLOW_IMPLICIT_CONSTRUCTORS(SandboxSeccompBPF); | 47 DISALLOW_IMPLICIT_CONSTRUCTORS(SandboxSeccompBPF); |
48 }; | 48 }; |
49 | 49 |
50 } // namespace content | 50 } // namespace content |
51 | 51 |
52 #endif // CONTENT_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_ | 52 #endif // CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_SECCOMP_BPF_LINUX_H_ |
53 | 53 |
OLD | NEW |