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 SANDBOX_LINUX_BPF_DSL_POLICY_COMPILER_H_ | 5 #ifndef SANDBOX_LINUX_BPF_DSL_POLICY_COMPILER_H_ |
6 #define SANDBOX_LINUX_BPF_DSL_POLICY_COMPILER_H_ | 6 #define SANDBOX_LINUX_BPF_DSL_POLICY_COMPILER_H_ |
7 | 7 |
8 #include <stddef.h> | |
9 #include <stdint.h> | 8 #include <stdint.h> |
10 | 9 |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/macros.h" | 12 #include "base/macros.h" |
14 #include "sandbox/linux/bpf_dsl/bpf_dsl_forward.h" | 13 #include "sandbox/linux/bpf_dsl/bpf_dsl_forward.h" |
15 #include "sandbox/linux/bpf_dsl/codegen.h" | 14 #include "sandbox/linux/bpf_dsl/codegen.h" |
16 #include "sandbox/linux/bpf_dsl/trap_registry.h" | 15 #include "sandbox/linux/bpf_dsl/trap_registry.h" |
17 #include "sandbox/sandbox_export.h" | 16 #include "sandbox/sandbox_export.h" |
18 | 17 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 CodeGen gen_; | 143 CodeGen gen_; |
145 bool has_unsafe_traps_; | 144 bool has_unsafe_traps_; |
146 | 145 |
147 DISALLOW_COPY_AND_ASSIGN(PolicyCompiler); | 146 DISALLOW_COPY_AND_ASSIGN(PolicyCompiler); |
148 }; | 147 }; |
149 | 148 |
150 } // namespace bpf_dsl | 149 } // namespace bpf_dsl |
151 } // namespace sandbox | 150 } // namespace sandbox |
152 | 151 |
153 #endif // SANDBOX_LINUX_BPF_DSL_POLICY_COMPILER_H_ | 152 #endif // SANDBOX_LINUX_BPF_DSL_POLICY_COMPILER_H_ |
OLD | NEW |