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

Unified Diff: third_party/base/template_util.h

Issue 900753002: Add namespace and re-arrange PDFium's local copy of chromium /base. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rename safemath target to pdfium_base Created 5 years, 10 months 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 | « third_party/base/numerics/safe_math_impl.h ('k') | third_party/logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/base/template_util.h
diff --git a/third_party/template_util.h b/third_party/base/template_util.h
similarity index 79%
rename from third_party/template_util.h
rename to third_party/base/template_util.h
index d4508dd6961326295f1c4b275c2180a3334b98c0..ab660940f0a25b042ae0b3f946b7a3fcb33d1e35 100644
--- a/third_party/template_util.h
+++ b/third_party/base/template_util.h
@@ -2,11 +2,12 @@
// 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 PDFIUM_THIRD_PARTY_BASE_TEMPLATE_UTIL_H_
+#define PDFIUM_THIRD_PARTY_BASE_TEMPLATE_UTIL_H_
#include <cstddef> // For size_t.
+namespace pdfium {
namespace base {
template<class T, T v>
@@ -29,5 +30,6 @@ template<class T>
struct enable_if<true, T> { typedef T type; };
} // namespace base
+} // namespace pdfium
-#endif // BASE_TEMPLATE_UTIL_H_
+#endif // PDFIUM_THIRD_PARTY_BASE_TEMPLATE_UTIL_H_
« no previous file with comments | « third_party/base/numerics/safe_math_impl.h ('k') | third_party/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698