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

Unified Diff: chrome/browser/profiles/profile_manager_unittest.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
Index: chrome/browser/profiles/profile_manager_unittest.cc
diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc
index 102c2f863f736216090791f1241ed3f39867a2d8..e6720483c323b7ef895f9de6359e1cd454598eac 100644
--- a/chrome/browser/profiles/profile_manager_unittest.cc
+++ b/chrome/browser/profiles/profile_manager_unittest.cc
@@ -63,7 +63,7 @@ class UnittestProfileManager : public ::ProfileManagerWithoutInit {
virtual Profile* CreateProfileHelper(
const base::FilePath& file_path) OVERRIDE {
if (!base::PathExists(file_path)) {
- if (!file_util::CreateDirectory(file_path))
+ if (!base::CreateDirectory(file_path))
return NULL;
}
return new TestingProfile(file_path, NULL);
@@ -74,7 +74,7 @@ class UnittestProfileManager : public ::ProfileManagerWithoutInit {
// This is safe while all file operations are done on the FILE thread.
BrowserThread::PostTask(
BrowserThread::FILE, FROM_HERE,
- base::Bind(base::IgnoreResult(&file_util::CreateDirectory), path));
+ base::Bind(base::IgnoreResult(&base::CreateDirectory), path));
return new TestingProfile(path, this);
}
« no previous file with comments | « chrome/browser/profiles/profile_info_cache.cc ('k') | chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698