Chromium Code Reviews

Unified Diff: base/path_service.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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « base/mac/mac_util_unittest.mm ('k') | base/test/launcher/test_results_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/path_service.cc
diff --git a/base/path_service.cc b/base/path_service.cc
index 89e58b2cdb1526169cd1e650c24dc35ccd9fb3a5..f0a6a844158ddde0b2219c2b6d471f22f3b3e888 100644
--- a/base/path_service.cc
+++ b/base/path_service.cc
@@ -254,7 +254,7 @@ bool PathService::OverrideAndCreateIfNeeded(int key,
// this to the absolute path because on POSIX, MakeAbsoluteFilePath fails
// if called on a non-existent path.
if (!base::PathExists(file_path) &&
- !file_util::CreateDirectory(file_path))
+ !base::CreateDirectory(file_path))
return false;
}
« no previous file with comments | « base/mac/mac_util_unittest.mm ('k') | base/test/launcher/test_results_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine