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

Side by Side Diff: sandbox/linux/bpf_dsl/bpf_dsl.cc

Issue 1539423002: Revert of Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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.h ('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 #include "sandbox/linux/bpf_dsl/bpf_dsl.h" 5 #include "sandbox/linux/bpf_dsl/bpf_dsl.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
10 #include <limits> 7 #include <limits>
11 8
12 #include "base/logging.h" 9 #include "base/logging.h"
13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
15 #include "sandbox/linux/bpf_dsl/bpf_dsl_impl.h" 11 #include "sandbox/linux/bpf_dsl/bpf_dsl_impl.h"
16 #include "sandbox/linux/bpf_dsl/errorcode.h" 12 #include "sandbox/linux/bpf_dsl/errorcode.h"
17 #include "sandbox/linux/bpf_dsl/policy_compiler.h" 13 #include "sandbox/linux/bpf_dsl/policy_compiler.h"
18 #include "sandbox/linux/system_headers/linux_seccomp.h" 14 #include "sandbox/linux/system_headers/linux_seccomp.h"
19 15
20 namespace sandbox { 16 namespace sandbox {
21 namespace bpf_dsl { 17 namespace bpf_dsl {
22 namespace { 18 namespace {
23 19
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 new const IfThenResultExprImpl(clause.first, clause.second, expr)); 335 new const IfThenResultExprImpl(clause.first, clause.second, expr));
340 } 336 }
341 return expr; 337 return expr;
342 } 338 }
343 339
344 } // namespace bpf_dsl 340 } // namespace bpf_dsl
345 } // namespace sandbox 341 } // namespace sandbox
346 342
347 template class scoped_refptr<const sandbox::bpf_dsl::internal::BoolExprImpl>; 343 template class scoped_refptr<const sandbox::bpf_dsl::internal::BoolExprImpl>;
348 template class scoped_refptr<const sandbox::bpf_dsl::internal::ResultExprImpl>; 344 template class scoped_refptr<const sandbox::bpf_dsl::internal::ResultExprImpl>;
OLDNEW
« no previous file with comments | « sandbox/linux/bpf_dsl/bpf_dsl.h ('k') | sandbox/linux/bpf_dsl/bpf_dsl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698