summaryrefslogtreecommitdiff
path: root/third_party/base
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-01 17:42:19 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-01 17:42:19 +0000
commit158b5719e4249721b6f411bf1c473f8d5bc31c93 (patch)
treebed73a0b8cc666c57066c7dfa8cb95124cf90cef /third_party/base
parentc52e30019ca616bd9b5a1fa9ef6cbd7fd3cea5c7 (diff)
downloadpdfium-158b5719e4249721b6f411bf1c473f8d5bc31c93.tar.xz
Make header guards consistent in third_party/base/*.h.
Change-Id: I90898b292d081419d803df1aa1af1d15e23a6108 Reviewed-on: https://pdfium-review.googlesource.com/43150 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'third_party/base')
-rw-r--r--third_party/base/bits.h6
-rw-r--r--third_party/base/compiler_specific.h6
-rw-r--r--third_party/base/logging.h6
-rw-r--r--third_party/base/macros.h6
-rw-r--r--third_party/base/optional.h6
-rw-r--r--third_party/base/ptr_util.h6
-rw-r--r--third_party/base/span.h6
-rw-r--r--third_party/base/stl_util.h6
-rw-r--r--third_party/base/sys_byteorder.h6
-rw-r--r--third_party/base/template_util.h6
10 files changed, 30 insertions, 30 deletions
diff --git a/third_party/base/bits.h b/third_party/base/bits.h
index ac40dc6ce4..cd250edbfe 100644
--- a/third_party/base/bits.h
+++ b/third_party/base/bits.h
@@ -4,8 +4,8 @@
// This file defines some bit utilities.
-#ifndef BASE_BITS_H_
-#define BASE_BITS_H_
+#ifndef THIRD_PARTY_BASE_BITS_H_
+#define THIRD_PARTY_BASE_BITS_H_
#include <stddef.h>
#include <stdint.h>
@@ -169,4 +169,4 @@ inline int Log2Ceiling(uint32_t n) {
} // namespace base
} // namespace pdfium
-#endif // BASE_BITS_H_
+#endif // THIRD_PARTY_BASE_BITS_H_
diff --git a/third_party/base/compiler_specific.h b/third_party/base/compiler_specific.h
index 57f7a93e59..41c475d090 100644
--- a/third_party/base/compiler_specific.h
+++ b/third_party/base/compiler_specific.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_COMPILER_SPECIFIC_H_
-#define BASE_COMPILER_SPECIFIC_H_
+#ifndef THIRD_PARTY_BASE_COMPILER_SPECIFIC_H_
+#define THIRD_PARTY_BASE_COMPILER_SPECIFIC_H_
#include "build/build_config.h"
@@ -228,4 +228,4 @@
#define FALLTHROUGH
#endif
-#endif // BASE_COMPILER_SPECIFIC_H_
+#endif // THIRD_PARTY_BASE_COMPILER_SPECIFIC_H_
diff --git a/third_party/base/logging.h b/third_party/base/logging.h
index 38b0dd9a17..2aeca31b85 100644
--- a/third_party/base/logging.h
+++ b/third_party/base/logging.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 PDFIUM_THIRD_PARTY_BASE_LOGGING_H_
-#define PDFIUM_THIRD_PARTY_BASE_LOGGING_H_
+#ifndef THIRD_PARTY_BASE_LOGGING_H_
+#define THIRD_PARTY_BASE_LOGGING_H_
#include <assert.h>
#include <stdlib.h>
@@ -36,4 +36,4 @@
#define NOTREACHED() assert(false)
-#endif // PDFIUM_THIRD_PARTY_BASE_LOGGING_H_
+#endif // THIRD_PARTY_BASE_LOGGING_H_
diff --git a/third_party/base/macros.h b/third_party/base/macros.h
index b6ec161204..cd1655a496 100644
--- a/third_party/base/macros.h
+++ b/third_party/base/macros.h
@@ -7,8 +7,8 @@
// that are closely related to things that are commonly used that belong in this
// file.)
-#ifndef PDFIUM_THIRD_PARTY_BASE_MACROS_H_
-#define PDFIUM_THIRD_PARTY_BASE_MACROS_H_
+#ifndef THIRD_PARTY_BASE_MACROS_H_
+#define THIRD_PARTY_BASE_MACROS_H_
// The COMPILE_ASSERT macro can be used to verify that a compile time
// expression is true. For example, you could use it to verify the
@@ -34,4 +34,4 @@
TypeName(const TypeName&) = delete; \
void operator=(const TypeName&) = delete
-#endif // PDFIUM_THIRD_PARTY_BASE_MACROS_H_
+#endif // THIRD_PARTY_BASE_MACROS_H_
diff --git a/third_party/base/optional.h b/third_party/base/optional.h
index 81d2ebc5cf..f98ee7e026 100644
--- a/third_party/base/optional.h
+++ b/third_party/base/optional.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 PDFIUM_THIRD_PARTY_BASE_OPTIONAL_H_
-#define PDFIUM_THIRD_PARTY_BASE_OPTIONAL_H_
+#ifndef THIRD_PARTY_BASE_OPTIONAL_H_
+#define THIRD_PARTY_BASE_OPTIONAL_H_
#include <type_traits>
#include <utility>
@@ -507,4 +507,4 @@ struct hash<pdfium::Optional<T>> {
template <class T>
using Optional = pdfium::Optional<T>;
-#endif // PDFIUM_THIRD_PARTY_BASE_OPTIONAL_H_
+#endif // THIRD_PARTY_BASE_OPTIONAL_H_
diff --git a/third_party/base/ptr_util.h b/third_party/base/ptr_util.h
index b64261f82d..36f0920bd2 100644
--- a/third_party/base/ptr_util.h
+++ b/third_party/base/ptr_util.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 PDFIUM_THIRD_PARTY_BASE_PTR_UTIL_H_
-#define PDFIUM_THIRD_PARTY_BASE_PTR_UTIL_H_
+#ifndef THIRD_PARTY_BASE_PTR_UTIL_H_
+#define THIRD_PARTY_BASE_PTR_UTIL_H_
#include <memory>
#include <utility>
@@ -71,4 +71,4 @@ typename internal::MakeUniqueResult<T>::Invalid MakeUnique(Args&&... args) =
} // namespace pdfium
-#endif // PDFIUM_THIRD_PARTY_BASE_PTR_UTIL_H_
+#endif // THIRD_PARTY_BASE_PTR_UTIL_H_
diff --git a/third_party/base/span.h b/third_party/base/span.h
index ccffbc1e78..bb07f43a02 100644
--- a/third_party/base/span.h
+++ b/third_party/base/span.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 PDFIUM_THIRD_PARTY_BASE_SPAN_H_
-#define PDFIUM_THIRD_PARTY_BASE_SPAN_H_
+#ifndef THIRD_PARTY_BASE_SPAN_H_
+#define THIRD_PARTY_BASE_SPAN_H_
#include <stddef.h>
@@ -349,4 +349,4 @@ constexpr span<T> make_span(const Container& container) {
} // namespace pdfium
-#endif // PDFIUM_THIRD_PARTY_BASE_SPAN_H_
+#endif // THIRD_PARTY_BASE_SPAN_H_
diff --git a/third_party/base/stl_util.h b/third_party/base/stl_util.h
index 5d984dc4cc..ab3ac60911 100644
--- a/third_party/base/stl_util.h
+++ b/third_party/base/stl_util.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 PDFIUM_THIRD_PARTY_BASE_STL_UTIL_H_
-#define PDFIUM_THIRD_PARTY_BASE_STL_UTIL_H_
+#ifndef THIRD_PARTY_BASE_STL_UTIL_H_
+#define THIRD_PARTY_BASE_STL_UTIL_H_
#include <algorithm>
#include <iterator>
@@ -86,4 +86,4 @@ std::vector<T> Vector2D(size_t w, size_t h) {
} // namespace pdfium
-#endif // PDFIUM_THIRD_PARTY_BASE_STL_UTIL_H_
+#endif // THIRD_PARTY_BASE_STL_UTIL_H_
diff --git a/third_party/base/sys_byteorder.h b/third_party/base/sys_byteorder.h
index db8cc165ba..8b252f13b4 100644
--- a/third_party/base/sys_byteorder.h
+++ b/third_party/base/sys_byteorder.h
@@ -8,8 +8,8 @@
// Use the functions defined here rather than using the platform-specific
// functions directly.
-#ifndef BASE_SYS_BYTEORDER_H_
-#define BASE_SYS_BYTEORDER_H_
+#ifndef THIRD_PARTY_BASE_SYS_BYTEORDER_H_
+#define THIRD_PARTY_BASE_SYS_BYTEORDER_H_
#include <stdint.h>
@@ -138,4 +138,4 @@ inline uint64_t HostToNet64(uint64_t x) {
} // namespace base
} // namespace pdfium
-#endif // BASE_SYS_BYTEORDER_H_
+#endif // THIRD_PARTY_BASE_SYS_BYTEORDER_H_
diff --git a/third_party/base/template_util.h b/third_party/base/template_util.h
index 8544aa2945..6f31f478b4 100644
--- a/third_party/base/template_util.h
+++ b/third_party/base/template_util.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_TEMPLATE_UTIL_H_
-#define BASE_TEMPLATE_UTIL_H_
+#ifndef THIRD_PARTY_BASE_TEMPLATE_UTIL_H_
+#define THIRD_PARTY_BASE_TEMPLATE_UTIL_H_
#include <stddef.h>
#include <iosfwd>
@@ -150,4 +150,4 @@ using is_trivially_copy_constructible = std::is_trivially_copy_constructible<T>;
#undef CR_USE_FALLBACKS_FOR_GCC_WITH_LIBCXX
#undef CR_USE_FALLBACKS_FOR_OLD_EXPERIMENTAL_GLIBCXX
-#endif // BASE_TEMPLATE_UTIL_H_
+#endif // THIRD_PARTY_BASE_TEMPLATE_UTIL_H_