Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: sandbox/linux/bpf_dsl/bpf_dsl_impl.h

Issue 2554863002: Cleanup remaining class/struct fwd declarations (Closed)
Patch Set: Style fixes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sandbox/linux/bpf_dsl/bpf_dsl_forward.h ('k') | sandbox/win/src/broker_services.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_IMPL_H_ 5 #ifndef SANDBOX_LINUX_BPF_DSL_BPF_DSL_IMPL_H_
6 #define SANDBOX_LINUX_BPF_DSL_BPF_DSL_IMPL_H_ 6 #define SANDBOX_LINUX_BPF_DSL_BPF_DSL_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "sandbox/linux/bpf_dsl/codegen.h" 11 #include "sandbox/linux/bpf_dsl/codegen.h"
12 #include "sandbox/sandbox_export.h" 12 #include "sandbox/sandbox_export.h"
13 13
14 namespace sandbox { 14 namespace sandbox {
15 namespace bpf_dsl { 15 namespace bpf_dsl {
16 class ErrorCode;
17 class PolicyCompiler; 16 class PolicyCompiler;
18 17
19 namespace internal { 18 namespace internal {
20 19
21 // Internal interface implemented by BoolExpr implementations. 20 // Internal interface implemented by BoolExpr implementations.
22 class BoolExprImpl { 21 class BoolExprImpl {
23 public: 22 public:
24 // Compile uses |pc| to emit a CodeGen::Node that conditionally continues 23 // Compile uses |pc| to emit a CodeGen::Node that conditionally continues
25 // to either |then_node| or |false_node|, depending on whether the represented 24 // to either |then_node| or |false_node|, depending on whether the represented
26 // boolean expression is true or false. 25 // boolean expression is true or false.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 58
60 private: 59 private:
61 DISALLOW_COPY_AND_ASSIGN(ResultExprImpl); 60 DISALLOW_COPY_AND_ASSIGN(ResultExprImpl);
62 }; 61 };
63 62
64 } // namespace internal 63 } // namespace internal
65 } // namespace bpf_dsl 64 } // namespace bpf_dsl
66 } // namespace sandbox 65 } // namespace sandbox
67 66
68 #endif // SANDBOX_LINUX_BPF_DSL_BPF_DSL_IMPL_H_ 67 #endif // SANDBOX_LINUX_BPF_DSL_BPF_DSL_IMPL_H_
OLDNEW
« no previous file with comments | « sandbox/linux/bpf_dsl/bpf_dsl_forward.h ('k') | sandbox/win/src/broker_services.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698