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

Unified Diff: chrome/browser/importer/firefox_importer_browsertest.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/history/history_unittest.cc ('k') | chrome/browser/jumplist_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/firefox_importer_browsertest.cc
diff --git a/chrome/browser/importer/firefox_importer_browsertest.cc b/chrome/browser/importer/firefox_importer_browsertest.cc
index e623e36e6f682a1fefd3ebb89cdb68d110693511..3e3adb263c62e86666e3d1c28ffa5378b0cb0b7d 100644
--- a/chrome/browser/importer/firefox_importer_browsertest.cc
+++ b/chrome/browser/importer/firefox_importer_browsertest.cc
@@ -216,10 +216,10 @@ class FirefoxProfileImporterBrowserTest : public InProcessBrowserTest {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
base::FilePath test_path = temp_dir_.path().AppendASCII("ImporterTest");
base::DeleteFile(test_path, true);
- file_util::CreateDirectory(test_path);
+ base::CreateDirectory(test_path);
profile_path_ = test_path.AppendASCII("profile");
app_path_ = test_path.AppendASCII("app");
- file_util::CreateDirectory(app_path_);
+ base::CreateDirectory(app_path_);
// This will launch the browser test and thus needs to happen last.
InProcessBrowserTest::SetUp();
@@ -240,7 +240,7 @@ class FirefoxProfileImporterBrowserTest : public InProcessBrowserTest {
base::FilePath search_engine_path = app_path_;
search_engine_path = search_engine_path.AppendASCII("searchplugins");
- file_util::CreateDirectory(search_engine_path);
+ base::CreateDirectory(search_engine_path);
if (import_search_plugins) {
ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &data_path));
data_path = data_path.AppendASCII("firefox3_searchplugins");
« no previous file with comments | « chrome/browser/history/history_unittest.cc ('k') | chrome/browser/jumplist_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698