Commit a3116351 authored by tfarina's avatar tfarina Committed by Commit bot

Cleanup: Fix base header include guards.

The header include guards should match the file path from root.

These entries were found using a modified version of Eric's
fix-include-guards.py script found attached in
https://code.google.com/p/chromium/issues/detail?id=435361#c7.

BUG=435361
TEST=base_unittests
R=danakj@chromium.org

Review URL: https://codereview.chromium.org/1137323003

Cr-Commit-Position: refs/heads/master@{#329731}
parent 9d7af519
......@@ -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_ANDROID_JAVA_RUNTIME_H
#define BASE_ANDROID_JAVA_RUNTIME_H
#ifndef BASE_ANDROID_JAVA_RUNTIME_H_
#define BASE_ANDROID_JAVA_RUNTIME_H_
#include "base/android/scoped_java_ref.h"
#include "base/base_export.h"
......@@ -25,4 +25,4 @@ class BASE_EXPORT JavaRuntime {
} // namespace android
} // namespace base
#endif // BASE_ANDROID_JAVA_RUNTIME_H
#endif // BASE_ANDROID_JAVA_RUNTIME_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_BASE64_H__
#define BASE_BASE64_H__
#ifndef BASE_BASE64_H_
#define BASE_BASE64_H_
#include <string>
......@@ -22,4 +22,4 @@ BASE_EXPORT bool Base64Decode(const StringPiece& input, std::string* output);
} // namespace base
#endif // BASE_BASE64_H__
#endif // BASE_BASE64_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_BASE_PATHS_WIN_H__
#define BASE_BASE_PATHS_WIN_H__
#ifndef BASE_BASE_PATHS_WIN_H_
#define BASE_BASE_PATHS_WIN_H_
// This file declares windows-specific path keys for the base module.
// These can be used with the PathService to access various special
......@@ -51,4 +51,4 @@ enum {
} // namespace base
#endif // BASE_BASE_PATHS_WIN_H__
#endif // BASE_BASE_PATHS_WIN_H_
......@@ -87,4 +87,4 @@ BASE_EXPORT MoveDynamicSymbol GetProfilerMoveDynamicSymbolFunc();
} // namespace debug
} // namespace base
#endif // BASE_DEBUG_PROFILER_H__
#endif // BASE_DEBUG_PROFILER_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_FILE_VERSION_INFO_H__
#define BASE_FILE_VERSION_INFO_H__
#ifndef BASE_FILE_VERSION_INFO_H_
#define BASE_FILE_VERSION_INFO_H_
#include "build/build_config.h"
......@@ -83,4 +83,4 @@ class BASE_EXPORT FileVersionInfo {
virtual bool is_official_build() = 0;
};
#endif // BASE_FILE_VERSION_INFO_H__
#endif // BASE_FILE_VERSION_INFO_H_
......@@ -95,4 +95,4 @@ class DirReaderLinux {
} // namespace base
#endif // BASE_FILES_DIR_READER_LINUX_H_
#endif // BASE_FILES_DIR_READER_LINUX_H_
......@@ -33,4 +33,4 @@ typedef DirReaderFallback DirReaderPosix;
} // namespace base
#endif // BASE_FILES_DIR_READER_POSIX_H_
#endif // BASE_FILES_DIR_READER_POSIX_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_MEMORY_MEMORY_PRESSURE_MONITOR_MAC_H_
#define BASE_MEMORY_MEMORY_PRESSURE_MONITOR_MAC_H_
#ifndef BASE_MAC_MEMORY_PRESSURE_MONITOR_MAC_H_
#define BASE_MAC_MEMORY_PRESSURE_MONITOR_MAC_H_
#include <dispatch/dispatch.h>
......@@ -59,4 +59,4 @@ class BASE_EXPORT MemoryPressureMonitorMac : public MemoryPressureMonitor {
} // namespace base
#endif // BASE_MEMORY_MEMORY_PRESSURE_MONITOR_MAC_H_
#endif // BASE_MAC_MEMORY_PRESSURE_MONITOR_MAC_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_OBSERVER_LIST_H__
#define BASE_OBSERVER_LIST_H__
#ifndef BASE_OBSERVER_LIST_H_
#define BASE_OBSERVER_LIST_H_
#include <algorithm>
#include <limits>
......@@ -240,4 +240,4 @@ class ObserverList : public ObserverListBase<ObserverType> {
} \
} while (0)
#endif // BASE_OBSERVER_LIST_H__
#endif // BASE_OBSERVER_LIST_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_PICKLE_H__
#define BASE_PICKLE_H__
#ifndef BASE_PICKLE_H_
#define BASE_PICKLE_H_
#include <string>
......@@ -304,4 +304,4 @@ class BASE_EXPORT Pickle {
FRIEND_TEST_ALL_PREFIXES(PickleTest, FindNextOverflow);
};
#endif // BASE_PICKLE_H__
#endif // BASE_PICKLE_H_
......@@ -62,4 +62,4 @@ class BASE_EXPORT ScopedProfile {
} // namespace tracked_objects
#endif // BASE_PROFILER_SCOPED_PROFILE_H_
#endif // BASE_PROFILER_SCOPED_PROFILE_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_TRACE_EVENT_MEMORY_DUMP_REQUEST_H_
#define BASE_TRACE_EVENT_MEMORY_DUMP_REQUEST_H_
#ifndef BASE_TRACE_EVENT_MEMORY_DUMP_REQUEST_ARGS_H_
#define BASE_TRACE_EVENT_MEMORY_DUMP_REQUEST_ARGS_H_
// This file defines the types and structs used to issue memory dump requests.
// These are also used in the IPCs for coordinating inter-process memory dumps.
......@@ -38,4 +38,4 @@ struct BASE_EXPORT MemoryDumpRequestArgs {
} // namespace trace_event
} // namespace base
#endif // BASE_TRACE_EVENT_MEMORY_DUMP_REQUEST_H_
#endif // BASE_TRACE_EVENT_MEMORY_DUMP_REQUEST_ARGS_H_
......@@ -3,8 +3,8 @@
// found in the LICENSE file.
// This file contains the Windows-specific exporting to ETW.
#ifndef BASE_TRACE_EVENT_TRACE_ETW_EXPORT_H_
#define BASE_TRACE_EVENT_TRACE_ETW_EXPORT_H_
#ifndef BASE_TRACE_EVENT_TRACE_EVENT_ETW_EXPORT_WIN_H_
#define BASE_TRACE_EVENT_TRACE_EVENT_ETW_EXPORT_WIN_H_
#include "base/base_export.h"
#include "base/trace_event/trace_event_impl.h"
......@@ -72,4 +72,4 @@ class BASE_EXPORT TraceEventETWExport {
} // namespace trace_event
} // namespace base
#endif // BASE_TRACE_EVENT_TRACE_ETW_EXPORT_H_
#endif // BASE_TRACE_EVENT_TRACE_EVENT_ETW_EXPORT_WIN_H_
......@@ -25,8 +25,8 @@
// DispatchToMethod(&foo, &Foo::SomeMeth, MakeTuple(1, 2, 3));
// // foo->SomeMeth(1, 2, 3);
#ifndef BASE_TUPLE_H__
#define BASE_TUPLE_H__
#ifndef BASE_TUPLE_H_
#define BASE_TUPLE_H_
#include "base/bind_helpers.h"
......@@ -329,4 +329,4 @@ inline void DispatchToMethod(ObjT* obj,
MakeIndexSequence<sizeof...(OutTs)>());
}
#endif // BASE_TUPLE_H__
#endif // BASE_TUPLE_H_
......@@ -5,8 +5,8 @@
// This file contains utility functions for accessing resources in external
// files (DLLs) or embedded in the executable itself.
#ifndef BASE_WIN_RESOURCE_UTIL_H__
#define BASE_WIN_RESOURCE_UTIL_H__
#ifndef BASE_WIN_RESOURCE_UTIL_H_
#define BASE_WIN_RESOURCE_UTIL_H_
#include <windows.h>
......@@ -36,4 +36,4 @@ bool BASE_EXPORT GetDataResourceFromModule(HMODULE module,
} // namespace win
} // namespace base
#endif // BASE_WIN_RESOURCE_UTIL_H__
#endif // BASE_WIN_RESOURCE_UTIL_H_
......@@ -47,4 +47,4 @@ class BASE_EXPORT StartupInformation {
} // namespace win
} // namespace base
#endif // BASE_WIN_STARTUP_INFORMATION_H__
#endif // BASE_WIN_STARTUP_INFORMATION_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment