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

Unified Diff: chrome/browser/chromeos/drive/file_system_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/chromeos/drive/file_system_unittest.cc
diff --git a/chrome/browser/chromeos/drive/file_system_unittest.cc b/chrome/browser/chromeos/drive/file_system_unittest.cc
index 09d5f85a70ef64c5069f5b10e92eb196106d1020..9f36e46f17c091df5e1fa9dd3b37d9e7baf189a4 100644
--- a/chrome/browser/chromeos/drive/file_system_unittest.cc
+++ b/chrome/browser/chromeos/drive/file_system_unittest.cc
@@ -100,13 +100,13 @@ class FileSystemTest : public testing::Test {
void SetUpResourceMetadataAndFileSystem() {
const base::FilePath metadata_dir = temp_dir_.path().AppendASCII("meta");
- ASSERT_TRUE(file_util::CreateDirectory(metadata_dir));
+ ASSERT_TRUE(base::CreateDirectory(metadata_dir));
metadata_storage_.reset(new internal::ResourceMetadataStorage(
metadata_dir, base::MessageLoopProxy::current().get()));
ASSERT_TRUE(metadata_storage_->Initialize());
const base::FilePath cache_dir = temp_dir_.path().AppendASCII("files");
- ASSERT_TRUE(file_util::CreateDirectory(cache_dir));
+ ASSERT_TRUE(base::CreateDirectory(cache_dir));
cache_.reset(new internal::FileCache(
metadata_storage_.get(),
cache_dir,
@@ -119,7 +119,7 @@ class FileSystemTest : public testing::Test {
ASSERT_EQ(FILE_ERROR_OK, resource_metadata_->Initialize());
const base::FilePath temp_file_dir = temp_dir_.path().AppendASCII("tmp");
- ASSERT_TRUE(file_util::CreateDirectory(temp_file_dir));
+ ASSERT_TRUE(base::CreateDirectory(temp_file_dir));
file_system_.reset(new FileSystem(
pref_service_.get(),
cache_.get(),
@@ -192,7 +192,7 @@ class FileSystemTest : public testing::Test {
resource_metadata_.reset();
const base::FilePath metadata_dir = temp_dir_.path().AppendASCII("meta");
- ASSERT_TRUE(file_util::CreateDirectory(metadata_dir));
+ ASSERT_TRUE(base::CreateDirectory(metadata_dir));
scoped_ptr<internal::ResourceMetadataStorage,
test_util::DestroyHelperForTests> metadata_storage(
new internal::ResourceMetadataStorage(

Powered by Google App Engine
This is Rietveld 408576698