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

Unified Diff: chrome/installer/util/create_dir_work_item_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/installer/util/create_dir_work_item_unittest.cc
diff --git a/chrome/installer/util/create_dir_work_item_unittest.cc b/chrome/installer/util/create_dir_work_item_unittest.cc
index ba3e81ba74759d5312870817a6e3177efbaf45ce..9ac5d5658d2b9b5d7ba5db64365be36f498a9558 100644
--- a/chrome/installer/util/create_dir_work_item_unittest.cc
+++ b/chrome/installer/util/create_dir_work_item_unittest.cc
@@ -28,7 +28,7 @@ namespace {
TEST_F(CreateDirWorkItemTest, CreatePath) {
base::FilePath parent_dir(temp_dir_.path());
parent_dir = parent_dir.AppendASCII("a");
- file_util::CreateDirectory(parent_dir);
+ base::CreateDirectory(parent_dir);
ASSERT_TRUE(base::PathExists(parent_dir));
base::FilePath top_dir_to_create(parent_dir);
@@ -55,7 +55,7 @@ TEST_F(CreateDirWorkItemTest, CreatePath) {
TEST_F(CreateDirWorkItemTest, CreateExistingPath) {
base::FilePath dir_to_create(temp_dir_.path());
dir_to_create = dir_to_create.AppendASCII("aa");
- file_util::CreateDirectory(dir_to_create);
+ base::CreateDirectory(dir_to_create);
ASSERT_TRUE(base::PathExists(dir_to_create));
scoped_ptr<CreateDirWorkItem> work_item(
@@ -92,7 +92,7 @@ TEST_F(CreateDirWorkItemTest, CreateSharedPath) {
// Create another directory under dir_to_create_2
base::FilePath dir_to_create_4(dir_to_create_2);
dir_to_create_4 = dir_to_create_4.AppendASCII("ddd");
- file_util::CreateDirectory(dir_to_create_4);
+ base::CreateDirectory(dir_to_create_4);
ASSERT_TRUE(base::PathExists(dir_to_create_4));
work_item->Rollback();
« no previous file with comments | « chrome/installer/util/create_dir_work_item.cc ('k') | chrome/installer/util/delete_after_reboot_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698