OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BPF_DSL_H_ | 5 #ifndef SANDBOX_LINUX_BPF_DSL_BPF_DSL_H_ |
6 #define SANDBOX_LINUX_BPF_DSL_BPF_DSL_H_ | 6 #define SANDBOX_LINUX_BPF_DSL_BPF_DSL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
8 #include <stdint.h> | 9 #include <stdint.h> |
9 | 10 |
10 #include <utility> | 11 #include <utility> |
11 #include <vector> | 12 #include <vector> |
12 | 13 |
13 #include "base/macros.h" | 14 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
15 #include "sandbox/linux/bpf_dsl/bpf_dsl_forward.h" | 16 #include "sandbox/linux/bpf_dsl/bpf_dsl_forward.h" |
16 #include "sandbox/linux/bpf_dsl/cons.h" | 17 #include "sandbox/linux/bpf_dsl/cons.h" |
17 #include "sandbox/linux/bpf_dsl/trap_registry.h" | 18 #include "sandbox/linux/bpf_dsl/trap_registry.h" |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 | 326 |
326 template <typename... Rest> | 327 template <typename... Rest> |
327 BoolExpr AnyOf(const BoolExpr& first, const Rest&... rest) { | 328 BoolExpr AnyOf(const BoolExpr& first, const Rest&... rest) { |
328 return AnyOf(first, AnyOf(rest...)); | 329 return AnyOf(first, AnyOf(rest...)); |
329 } | 330 } |
330 | 331 |
331 } // namespace bpf_dsl | 332 } // namespace bpf_dsl |
332 } // namespace sandbox | 333 } // namespace sandbox |
333 | 334 |
334 #endif // SANDBOX_LINUX_BPF_DSL_BPF_DSL_H_ | 335 #endif // SANDBOX_LINUX_BPF_DSL_BPF_DSL_H_ |
OLD | NEW |