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

Side by Side Diff: sandbox/linux/seccomp-bpf/die.h

Issue 570163003: Large IWYU cleanup for seccomp-bpf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trap-errorcode
Patch Set: Sort #includes Created 6 years, 3 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/seccomp-bpf/codegen_unittest.cc ('k') | sandbox/linux/seccomp-bpf/die.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SECCOMP_BPF_DIE_H__ 5 #ifndef SANDBOX_LINUX_SECCOMP_BPF_DIE_H__
6 #define SANDBOX_LINUX_SECCOMP_BPF_DIE_H__ 6 #define SANDBOX_LINUX_SECCOMP_BPF_DIE_H__
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 #include "sandbox/sandbox_export.h" 9 #include "sandbox/sandbox_export.h"
10 10
11 namespace sandbox { 11 namespace sandbox {
12 12
13 // This is the main API for using this file. Prints a error message and 13 // This is the main API for using this file. Prints a error message and
14 // exits with a fatal error. This is not async-signal safe. 14 // exits with a fatal error. This is not async-signal safe.
15 #define SANDBOX_DIE(m) sandbox::Die::SandboxDie(m, __FILE__, __LINE__) 15 #define SANDBOX_DIE(m) sandbox::Die::SandboxDie(m, __FILE__, __LINE__)
16 16
17 // An async signal safe version of the same API. Won't print the filename 17 // An async signal safe version of the same API. Won't print the filename
18 // and line numbers. 18 // and line numbers.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 private: 59 private:
60 static bool simple_exit_; 60 static bool simple_exit_;
61 static bool suppress_info_; 61 static bool suppress_info_;
62 62
63 DISALLOW_IMPLICIT_CONSTRUCTORS(Die); 63 DISALLOW_IMPLICIT_CONSTRUCTORS(Die);
64 }; 64 };
65 65
66 } // namespace sandbox 66 } // namespace sandbox
67 67
68 #endif // SANDBOX_LINUX_SECCOMP_BPF_DIE_H__ 68 #endif // SANDBOX_LINUX_SECCOMP_BPF_DIE_H__
OLDNEW
« no previous file with comments | « sandbox/linux/seccomp-bpf/codegen_unittest.cc ('k') | sandbox/linux/seccomp-bpf/die.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698