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

Unified Diff: chrome/browser/first_run/first_run.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 | « chrome/browser/extensions/webstore_installer.cc ('k') | chrome/browser/first_run/first_run_internal_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/first_run.cc
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc
index 75401cb41eaa570744d21c682cef72fd4904f982..4d591587855da2ee91285b21d68485e9b72833c2 100644
--- a/chrome/browser/first_run/first_run.cc
+++ b/chrome/browser/first_run/first_run.cc
@@ -175,7 +175,7 @@ base::FilePath GetDefaultPrefFilePath(bool create_profile_dir,
profiles::GetDefaultProfileDir(user_data_dir);
if (create_profile_dir) {
if (!base::PathExists(default_pref_dir)) {
- if (!file_util::CreateDirectory(default_pref_dir))
+ if (!base::CreateDirectory(default_pref_dir))
return base::FilePath();
}
}
« no previous file with comments | « chrome/browser/extensions/webstore_installer.cc ('k') | chrome/browser/first_run/first_run_internal_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698