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

Unified Diff: net/tools/dump_cache/cache_dumper.cc

Issue 100573002: Move directory creation functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « net/tools/crash_cache/crash_cache.cc ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/dump_cache/cache_dumper.cc
diff --git a/net/tools/dump_cache/cache_dumper.cc b/net/tools/dump_cache/cache_dumper.cc
index e6bac0aeda76dfe267e4670cd0fba52d10bb143f..ad9a79c0f84fe3f01125466ac434833cd5bf8b0e 100644
--- a/net/tools/dump_cache/cache_dumper.cc
+++ b/net/tools/dump_cache/cache_dumper.cc
@@ -65,13 +65,13 @@ bool SafeCreateDirectory(const base::FilePath& path) {
// Now create the full path
return CreateDirectoryW(path.value().c_str(), NULL) == TRUE;
#else
- return file_util::CreateDirectory(path);
+ return base::CreateDirectory(path);
#endif
}
DiskDumper::DiskDumper(const base::FilePath& path)
: path_(path), entry_(NULL) {
- file_util::CreateDirectory(path);
+ base::CreateDirectory(path);
}
int DiskDumper::CreateEntry(const std::string& key,
« no previous file with comments | « net/tools/crash_cache/crash_cache.cc ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698