OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 MOJO_SHELL_RUNNER_HOST_LINUX_SANDBOX_H_ | 5 #ifndef SERVICES_SHELL_RUNNER_HOST_LINUX_SANDBOX_H_ |
6 #define MOJO_SHELL_RUNNER_HOST_LINUX_SANDBOX_H_ | 6 #define SERVICES_SHELL_RUNNER_HOST_LINUX_SANDBOX_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/files/scoped_file.h" | 10 #include "base/files/scoped_file.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "sandbox/linux/bpf_dsl/bpf_dsl.h" | 12 #include "sandbox/linux/bpf_dsl/bpf_dsl.h" |
13 #include "sandbox/linux/bpf_dsl/policy.h" | 13 #include "sandbox/linux/bpf_dsl/policy.h" |
14 #include "sandbox/linux/syscall_broker/broker_process.h" | 14 #include "sandbox/linux/syscall_broker/broker_process.h" |
15 | 15 |
16 namespace mojo { | 16 namespace mojo { |
(...skipping 26 matching lines...) Expand all Loading... |
43 base::ScopedFD proc_fd_; | 43 base::ScopedFD proc_fd_; |
44 std::unique_ptr<sandbox::syscall_broker::BrokerProcess> broker_; | 44 std::unique_ptr<sandbox::syscall_broker::BrokerProcess> broker_; |
45 std::unique_ptr<sandbox::bpf_dsl::Policy> policy_; | 45 std::unique_ptr<sandbox::bpf_dsl::Policy> policy_; |
46 | 46 |
47 DISALLOW_COPY_AND_ASSIGN(LinuxSandbox); | 47 DISALLOW_COPY_AND_ASSIGN(LinuxSandbox); |
48 }; | 48 }; |
49 | 49 |
50 } // namespace shell | 50 } // namespace shell |
51 } // namespace mojo | 51 } // namespace mojo |
52 | 52 |
53 #endif // MOJO_SHELL_RUNNER_HOST_LINUX_SANDBOX_H_ | 53 #endif // SERVICES_SHELL_RUNNER_HOST_LINUX_SANDBOX_H_ |
OLD | NEW |