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