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

Unified Diff: chrome/browser/history/history_backend_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/history/history_backend_unittest.cc
diff --git a/chrome/browser/history/history_backend_unittest.cc b/chrome/browser/history/history_backend_unittest.cc
index 6a6554263c7dc4c0ab5a42fe778e0be4b00d0672..5d01cf1c039877c2138d8cfae3d3ad7ae6bd1776 100644
--- a/chrome/browser/history/history_backend_unittest.cc
+++ b/chrome/browser/history/history_backend_unittest.cc
@@ -1208,7 +1208,7 @@ TEST_F(HistoryBackendTest, MigrationVisitSource) {
// in Teardown.
base::FilePath new_history_path(getTestDir());
base::DeleteFile(new_history_path, true);
- file_util::CreateDirectory(new_history_path);
+ base::CreateDirectory(new_history_path);
base::FilePath new_history_file =
new_history_path.Append(chrome::kHistoryFilename);
ASSERT_TRUE(base::CopyFile(old_history_path, new_history_file));
@@ -2556,7 +2556,7 @@ TEST_F(HistoryBackendTest, MigrationVisitDuration) {
// in Teardown.
base::FilePath new_history_path(getTestDir());
base::DeleteFile(new_history_path, true);
- file_util::CreateDirectory(new_history_path);
+ base::CreateDirectory(new_history_path);
base::FilePath new_history_file =
new_history_path.Append(chrome::kHistoryFilename);
base::FilePath new_archived_file =
« no previous file with comments | « chrome/browser/first_run/first_run_internal_win.cc ('k') | chrome/browser/history/history_querying_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698