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

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: Created 5 years, 11 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
Index: third_party/base/template_util.h
diff --git a/third_party/template_util.h b/third_party/base/template_util.h
similarity index 94%
rename from third_party/template_util.h
rename to third_party/base/template_util.h
index d4508dd6961326295f1c4b275c2180a3334b98c0..8d91379e5d32eba5f3cfaffbdf41bad804dce4bd 100644
--- a/third_party/template_util.h
+++ b/third_party/base/template_util.h
@@ -7,6 +7,7 @@
#include <cstddef> // For size_t.
+namespace third_party {
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 third_party
#endif // BASE_TEMPLATE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698