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

Unified Diff: base/file_path.cc

Issue 12226121: Make base compile with no "using base::FilePath". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git try Created 7 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
Index: base/file_path.cc
diff --git a/base/file_path.cc b/base/file_path.cc
index fe2db15777cc6235e41c2bb7551a9cdd89275ec4..7e05f494698ddeeda686bb6ba2499e7a54783df7 100644
--- a/base/file_path.cc
+++ b/base/file_path.cc
@@ -29,6 +29,8 @@
#include <CoreFoundation/CoreFoundation.h>
#endif
+namespace base {
+
#if defined(FILE_PATH_USES_WIN_SEPARATORS)
const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("\\/");
#else // FILE_PATH_USES_WIN_SEPARATORS
@@ -1254,3 +1256,5 @@ FilePath FilePath::NormalizePathSeparators() const {
void PrintTo(const FilePath& path, std::ostream* out) {
*out << path.value();
}
+
+} // namespace base
« no previous file with comments | « base/command_line.cc ('k') | base/file_util.cc » ('j') | base/nix/mime_util_xdg.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698