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

Unified Diff: third_party/base/numerics/safe_conversions.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/numerics/safe_conversions.h
diff --git a/third_party/numerics/safe_conversions.h b/third_party/base/numerics/safe_conversions.h
similarity index 97%
rename from third_party/numerics/safe_conversions.h
rename to third_party/base/numerics/safe_conversions.h
index 681dc0a9cc3f46e8b759eca9a44ece5e87cff2b8..b783d23e393b866d5417485c3f5012f2c70f5085 100644
--- a/third_party/numerics/safe_conversions.h
+++ b/third_party/base/numerics/safe_conversions.h
@@ -10,6 +10,7 @@
#include "../logging.h"
#include "safe_conversions_impl.h"
+namespace third_party {
namespace base {
// Convenience function that returns true if the supplied value is in range
@@ -59,6 +60,7 @@ inline Dst saturated_cast(Src value) {
}
} // namespace base
+} // namespace third_party
#endif // BASE_SAFE_CONVERSIONS_H_

Powered by Google App Engine
This is Rietveld 408576698