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_LINUX_H_ | 5 #ifndef CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_LINUX_H_ |
6 #define CONTENT_COMMON_SANDBOX_LINUX_H_ | 6 #define CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_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 #include "content/public/common/sandbox_linux.h" | 12 #include "content/public/common/sandbox_linux.h" |
13 | 13 |
14 template <typename T> struct DefaultSingletonTraits; | 14 template <typename T> struct DefaultSingletonTraits; |
15 namespace sandbox { class SetuidSandboxClient; } | 15 namespace sandbox { class SetuidSandboxClient; } |
16 | 16 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 bool pre_initialized_; | 97 bool pre_initialized_; |
98 bool seccomp_bpf_supported_; // Accurate if pre_initialized_. | 98 bool seccomp_bpf_supported_; // Accurate if pre_initialized_. |
99 scoped_ptr<sandbox::SetuidSandboxClient> setuid_sandbox_client_; | 99 scoped_ptr<sandbox::SetuidSandboxClient> setuid_sandbox_client_; |
100 | 100 |
101 ~LinuxSandbox(); | 101 ~LinuxSandbox(); |
102 DISALLOW_IMPLICIT_CONSTRUCTORS(LinuxSandbox); | 102 DISALLOW_IMPLICIT_CONSTRUCTORS(LinuxSandbox); |
103 }; | 103 }; |
104 | 104 |
105 } // namespace content | 105 } // namespace content |
106 | 106 |
107 #endif // CONTENT_COMMON_SANDBOX_LINUX_H_ | 107 #endif // CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_LINUX_H_ |
108 | |
OLD | NEW |