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

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

Issue 1310773006: Update sandbox/linux from upstream (Closed) Base URL: ssh://ssh.github.com/domokit/mojo.git@master
Patch Set: Update to 3909ebfa69566f7374a6900e63cd4d3c73a35378 Created 5 years, 4 months 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.cc ('k') | sandbox/linux/bpf_dsl/bpf_dsl_unittest.cc » ('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 "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "sandbox/sandbox_export.h" 10 #include "sandbox/sandbox_export.h"
11 11
12 namespace sandbox { 12 namespace sandbox {
13 namespace bpf_dsl {
13 class ErrorCode; 14 class ErrorCode;
14
15 namespace bpf_dsl {
16 class PolicyCompiler; 15 class PolicyCompiler;
17 16
18 namespace internal { 17 namespace internal {
19 18
20 // Internal interface implemented by BoolExpr implementations. 19 // Internal interface implemented by BoolExpr implementations.
21 class BoolExprImpl : public base::RefCounted<BoolExprImpl> { 20 class BoolExprImpl : public base::RefCounted<BoolExprImpl> {
22 public: 21 public:
23 // Compile uses |pc| to construct an ErrorCode that conditionally continues 22 // Compile uses |pc| to construct an ErrorCode that conditionally continues
24 // to either |true_ec| or |false_ec|, depending on whether the represented 23 // to either |true_ec| or |false_ec|, depending on whether the represented
25 // boolean expression is true or false. 24 // boolean expression is true or false.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 private: 59 private:
61 friend class base::RefCounted<ResultExprImpl>; 60 friend class base::RefCounted<ResultExprImpl>;
62 DISALLOW_COPY_AND_ASSIGN(ResultExprImpl); 61 DISALLOW_COPY_AND_ASSIGN(ResultExprImpl);
63 }; 62 };
64 63
65 } // namespace internal 64 } // namespace internal
66 } // namespace bpf_dsl 65 } // namespace bpf_dsl
67 } // namespace sandbox 66 } // namespace sandbox
68 67
69 #endif // SANDBOX_LINUX_BPF_DSL_BPF_DSL_IMPL_H_ 68 #endif // SANDBOX_LINUX_BPF_DSL_BPF_DSL_IMPL_H_
OLDNEW
« no previous file with comments | « sandbox/linux/bpf_dsl/bpf_dsl.cc ('k') | sandbox/linux/bpf_dsl/bpf_dsl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698