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