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

Unified Diff: content/browser/indexed_db/indexed_db_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: content/browser/indexed_db/indexed_db_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_unittest.cc b/content/browser/indexed_db/indexed_db_unittest.cc
index 43613af566979509aa918599e5dd98f0b5ce4b79..b94b20d431994ecc7ad707084ec8cd85d11c7622 100644
--- a/content/browser/indexed_db/indexed_db_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_unittest.cc
@@ -69,8 +69,8 @@ TEST_F(IndexedDBTest, ClearSessionOnlyDatabases) {
webkit_database::GetIdentifierFromOrigin(kNormalOrigin));
session_only_path = idb_context->GetFilePathForTesting(
webkit_database::GetIdentifierFromOrigin(kSessionOnlyOrigin));
- ASSERT_TRUE(file_util::CreateDirectory(normal_path));
- ASSERT_TRUE(file_util::CreateDirectory(session_only_path));
+ ASSERT_TRUE(base::CreateDirectory(normal_path));
+ ASSERT_TRUE(base::CreateDirectory(session_only_path));
FlushIndexedDBTaskRunner();
message_loop_.RunUntilIdle();
}
@@ -103,8 +103,8 @@ TEST_F(IndexedDBTest, SetForceKeepSessionState) {
webkit_database::GetIdentifierFromOrigin(kNormalOrigin));
session_only_path = idb_context->GetFilePathForTesting(
webkit_database::GetIdentifierFromOrigin(kSessionOnlyOrigin));
- ASSERT_TRUE(file_util::CreateDirectory(normal_path));
- ASSERT_TRUE(file_util::CreateDirectory(session_only_path));
+ ASSERT_TRUE(base::CreateDirectory(normal_path));
+ ASSERT_TRUE(base::CreateDirectory(session_only_path));
message_loop_.RunUntilIdle();
}
@@ -158,7 +158,7 @@ TEST_F(IndexedDBTest, ForceCloseOpenDatabasesOnDelete) {
test_path = idb_context->GetFilePathForTesting(
webkit_database::GetIdentifierFromOrigin(kTestOrigin));
- ASSERT_TRUE(file_util::CreateDirectory(test_path));
+ ASSERT_TRUE(base::CreateDirectory(test_path));
const bool kExpectForceClose = true;
@@ -208,7 +208,7 @@ TEST_F(IndexedDBTest, DeleteFailsIfDirectoryLocked) {
base::FilePath test_path = idb_context->GetFilePathForTesting(
webkit_database::GetIdentifierFromOrigin(kTestOrigin));
- ASSERT_TRUE(file_util::CreateDirectory(test_path));
+ ASSERT_TRUE(base::CreateDirectory(test_path));
scoped_ptr<LevelDBLock> lock =
LevelDBDatabase::LockForTesting(test_path);
« no previous file with comments | « content/browser/indexed_db/indexed_db_quota_client_unittest.cc ('k') | content/browser/media/webrtc_identity_store_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698