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

Unified Diff: sandbox/linux/seccomp-bpf/port.h

Issue 66723007: Make sandbox/linux/seccomp-bpf/ follow the style guide. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (empty) rebase Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/linux/seccomp-bpf/instruction.h ('k') | sandbox/linux/seccomp-bpf/sandbox_bpf.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/seccomp-bpf/port.h
diff --git a/sandbox/linux/seccomp-bpf/port.h b/sandbox/linux/seccomp-bpf/port.h
index f10b1481de511e70ed3ff9f16612824ec81a11c6..e9cf6c71fe3e00a7e64bcb80c57f20b099296ff7 100644
--- a/sandbox/linux/seccomp-bpf/port.h
+++ b/sandbox/linux/seccomp-bpf/port.h
@@ -9,28 +9,27 @@
#define SANDBOX_LINUX_SECCOMP_BPF_PORT_H__
#if !defined(SECCOMP_BPF_STANDALONE)
- #include "base/basictypes.h"
- #include "base/logging.h"
- #include "base/posix/eintr_wrapper.h"
+#include "base/basictypes.h"
+#include "base/logging.h"
+#include "base/posix/eintr_wrapper.h"
#else
- #define arraysize(x) (sizeof(x)/sizeof(*(x)))
+#define arraysize(x) (sizeof(x) / sizeof(*(x)))
- #define HANDLE_EINTR TEMP_FAILURE_RETRY
+#define HANDLE_EINTR TEMP_FAILURE_RETRY
- #define DISALLOW_COPY_AND_ASSIGN(TypeName) \
- TypeName(const TypeName&); \
- void operator=(const TypeName&)
+#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
+ TypeName(const TypeName&); \
+ void operator=(const TypeName&)
- #define DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName) \
- TypeName(); \
- DISALLOW_COPY_AND_ASSIGN(TypeName)
+#define DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName) \
+ TypeName(); \
+ DISALLOW_COPY_AND_ASSIGN(TypeName)
- template <bool>
- struct CompileAssert {
- };
+template <bool>
+struct CompileAssert {};
- #define COMPILE_ASSERT(expr, msg) \
- typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
+#define COMPILE_ASSERT(expr, msg) \
+ typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
#endif
#endif // SANDBOX_LINUX_SECCOMP_BPF_PORT_H__
« no previous file with comments | « sandbox/linux/seccomp-bpf/instruction.h ('k') | sandbox/linux/seccomp-bpf/sandbox_bpf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698