diff options
author | danakj <danakj@chromium.org> | 2015-03-09 13:21:47 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-09 20:22:48 +0000 |
commit | 301b392761fd8f66f3a701ab1dd011c6e7a55e19 (patch) | |
tree | e2d26eb35f3ab2cf15fcef493e16d2304b1c6c0e /base/mac | |
parent | 202fef401ecfdef89837e709847f4e2189f0ee31 (diff) | |
download | chromium_src-301b392761fd8f66f3a701ab1dd011c6e7a55e19.zip chromium_src-301b392761fd8f66f3a701ab1dd011c6e7a55e19.tar.gz chromium_src-301b392761fd8f66f3a701ab1dd011c6e7a55e19.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
Review URL: https://codereview.chromium.org/985003004
Cr-Commit-Position: refs/heads/master@{#319722}
Diffstat (limited to 'base/mac')
-rw-r--r-- | base/mac/cocoa_protocols.h | 6 | ||||
-rw-r--r-- | base/mac/libdispatch_task_runner.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/base/mac/cocoa_protocols.h b/base/mac/cocoa_protocols.h index ab34a19..a28795c 100644 --- a/base/mac/cocoa_protocols.h +++ b/base/mac/cocoa_protocols.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_COCOA_PROTOCOLS_MAC_H_ -#define BASE_COCOA_PROTOCOLS_MAC_H_ +#ifndef BASE_MAC_COCOA_PROTOCOLS_H_ +#define BASE_MAC_COCOA_PROTOCOLS_H_ #import <Cocoa/Cocoa.h> @@ -28,4 +28,4 @@ DEFINE_EMPTY_PROTOCOL(ICCameraDeviceDownloadDelegate) #undef DEFINE_EMPTY_PROTOCOL -#endif // BASE_COCOA_PROTOCOLS_MAC_H_ +#endif // BASE_MAC_COCOA_PROTOCOLS_H_ diff --git a/base/mac/libdispatch_task_runner.h b/base/mac/libdispatch_task_runner.h index f5fd866..b479bc7 100644 --- a/base/mac/libdispatch_task_runner.h +++ b/base/mac/libdispatch_task_runner.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_MAC_LIBDISPATCH_SEQUENCED_TASK_RUNNER_H_ -#define BASE_MAC_LIBDISPATCH_SEQUENCED_TASK_RUNNER_H_ +#ifndef BASE_MAC_LIBDISPATCH_TASK_RUNNER_H_ +#define BASE_MAC_LIBDISPATCH_TASK_RUNNER_H_ #include <dispatch/dispatch.h> @@ -77,4 +77,4 @@ class BASE_EXPORT LibDispatchTaskRunner : public base::SingleThreadTaskRunner { } // namespace mac } // namespace base -#endif // BASE_MAC_LIBDISPATCH_SEQUENCED_TASK_RUNNER_H_ +#endif // BASE_MAC_LIBDISPATCH_TASK_RUNNER_H_ |