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

Unified Diff: webkit/browser/fileapi/sandbox_directory_database_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: webkit/browser/fileapi/sandbox_directory_database_unittest.cc
diff --git a/webkit/browser/fileapi/sandbox_directory_database_unittest.cc b/webkit/browser/fileapi/sandbox_directory_database_unittest.cc
index 033a992e5d7da53ae06572690620eba9867b35b5..b43dc23ee747a830c63d250e29d4850f5cbc7fc6 100644
--- a/webkit/browser/fileapi/sandbox_directory_database_unittest.cc
+++ b/webkit/browser/fileapi/sandbox_directory_database_unittest.cc
@@ -83,7 +83,7 @@ class SandboxDirectoryDatabaseTest : public testing::Test {
base::FilePath local_path = path().Append(data_path);
if (!base::DirectoryExists(local_path.DirName()))
- ASSERT_TRUE(file_util::CreateDirectory(local_path.DirName()));
+ ASSERT_TRUE(base::CreateDirectory(local_path.DirName()));
bool created = false;
base::PlatformFileError error = base::PLATFORM_FILE_ERROR_FAILED;
@@ -102,7 +102,7 @@ class SandboxDirectoryDatabaseTest : public testing::Test {
void ClearDatabaseAndDirectory() {
db_.reset();
ASSERT_TRUE(base::DeleteFile(path(), true /* recursive */));
- ASSERT_TRUE(file_util::CreateDirectory(path()));
+ ASSERT_TRUE(base::CreateDirectory(path()));
db_.reset(new SandboxDirectoryDatabase(path()));
}
« no previous file with comments | « webkit/browser/fileapi/sandbox_directory_database.cc ('k') | webkit/browser/fileapi/sandbox_origin_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698