summaryrefslogtreecommitdiffstats
path: root/base/process
diff options
context:
space:
mode:
authordanakj <danakj@chromium.org>2015-03-09 17:31:16 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-10 00:32:24 +0000
commit0a44860ef0cce93998ebc97f0631beae418e07ce (patch)
tree53368f5ac669d6d61dbe76d55e56076254d1a430 /base/process
parenta025878158db6fe6946bf49691a91ca896e2648c (diff)
downloadchromium_src-0a44860ef0cce93998ebc97f0631beae418e07ce.zip
chromium_src-0a44860ef0cce93998ebc97f0631beae418e07ce.tar.gz
chromium_src-0a44860ef0cce93998ebc97f0631beae418e07ce.tar.bz2
base: Fix/add header #ifndef guards.
Header guards should be defined based on the path and file name of the header file. Some headers have it wrong, some are missing the guards, and some just have the matching comment wrong. R=Nico BUG=464816 Committed: https://crrev.com/301b392761fd8f66f3a701ab1dd011c6e7a55e19 Cr-Commit-Position: refs/heads/master@{#319722} Review URL: https://codereview.chromium.org/985003004 Cr-Commit-Position: refs/heads/master@{#319793}
Diffstat (limited to 'base/process')
-rw-r--r--base/process/internal_linux.h6
-rw-r--r--base/process/process.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/base/process/internal_linux.h b/base/process/internal_linux.h
index 5fc3356..1837f94 100644
--- a/base/process/internal_linux.h
+++ b/base/process/internal_linux.h
@@ -5,8 +5,8 @@
// This file contains internal routines that are called by other files in
// base/process/.
-#ifndef BASE_PROCESS_LINUX_INTERNAL_H_
-#define BASE_PROCESS_LINUX_INTERNAL_H_
+#ifndef BASE_PROCESS_INTERNAL_LINUX_H_
+#define BASE_PROCESS_INTERNAL_LINUX_H_
#include <unistd.h>
@@ -87,4 +87,4 @@ TimeDelta ClockTicksToTimeDelta(int clock_ticks);
} // namespace internal
} // namespace base
-#endif // BASE_PROCESS_LINUX_INTERNAL_H_
+#endif // BASE_PROCESS_INTERNAL_LINUX_H_
diff --git a/base/process/process.h b/base/process/process.h
index 5ef5e9a..41eef10 100644
--- a/base/process/process.h
+++ b/base/process/process.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_PROCESS_PROCESS_PROCESS_H_
-#define BASE_PROCESS_PROCESS_PROCESS_H_
+#ifndef BASE_PROCESS_PROCESS_H_
+#define BASE_PROCESS_PROCESS_H_
#include "base/base_export.h"
#include "base/basictypes.h"
@@ -132,4 +132,4 @@ class BASE_EXPORT Process {
} // namespace base
-#endif // BASE_PROCESS_PROCESS_PROCESS_H_
+#endif // BASE_PROCESS_PROCESS_H_