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

Unified Diff: chrome/browser/media_galleries/fileapi/media_file_validator_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
Index: chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc
diff --git a/chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc b/chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc
index bcd0c3742387b0148cd8e0c90fc57ffc0742a63c..53693385a169c0954e830ea5cf96203775f94fe6 100644
--- a/chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc
+++ b/chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc
@@ -105,7 +105,7 @@ class MediaFileValidatorTest : public InProcessBrowserTest {
ASSERT_TRUE(base_dir_.CreateUniqueTempDir());
base::FilePath base = base_dir_.path();
base::FilePath src_path = base.AppendASCII("src_fs");
- ASSERT_TRUE(file_util::CreateDirectory(src_path));
+ ASSERT_TRUE(base::CreateDirectory(src_path));
ScopedVector<fileapi::FileSystemBackend> additional_providers;
additional_providers.push_back(new fileapi::TestFileSystemBackend(
@@ -126,7 +126,7 @@ class MediaFileValidatorTest : public InProcessBrowserTest {
file_util::WriteFile(test_file, content.data(), test_file_size_));
base::FilePath dest_path = base.AppendASCII("dest_fs");
- ASSERT_TRUE(file_util::CreateDirectory(dest_path));
+ ASSERT_TRUE(base::CreateDirectory(dest_path));
std::string dest_fsid =
fileapi::IsolatedContext::GetInstance()->RegisterFileSystemForPath(
fileapi::kFileSystemTypeNativeMedia, dest_path, NULL);

Powered by Google App Engine
This is Rietveld 408576698