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

Unified Diff: content/browser/indexed_db/indexed_db_unittest.cc

Issue 19052005: Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months 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 a45f54438694e857a1c74fcc56d43dd5c2fa55db..c9aec2915f215dbbdf7f69a75e69230065e5e52e 100644
--- a/content/browser/indexed_db/indexed_db_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_unittest.cc
@@ -74,8 +74,8 @@ TEST_F(IndexedDBTest, ClearSessionOnlyDatabases) {
FlushIndexedDBTaskRunner();
message_loop_.RunUntilIdle();
- EXPECT_TRUE(file_util::DirectoryExists(normal_path));
- EXPECT_FALSE(file_util::DirectoryExists(session_only_path));
+ EXPECT_TRUE(base::DirectoryExists(normal_path));
+ EXPECT_FALSE(base::DirectoryExists(session_only_path));
}
TEST_F(IndexedDBTest, SetForceKeepSessionState) {
@@ -108,8 +108,8 @@ TEST_F(IndexedDBTest, SetForceKeepSessionState) {
message_loop_.RunUntilIdle();
// No data was cleared because of SetForceKeepSessionState.
- EXPECT_TRUE(file_util::DirectoryExists(normal_path));
- EXPECT_TRUE(file_util::DirectoryExists(session_only_path));
+ EXPECT_TRUE(base::DirectoryExists(normal_path));
+ EXPECT_TRUE(base::DirectoryExists(session_only_path));
}
class MockConnection : public IndexedDBConnection {
@@ -187,7 +187,7 @@ TEST_F(IndexedDBTest, ForceCloseOpenDatabasesOnDelete) {
// Make sure we wait until the destructor has run.
message_loop_.RunUntilIdle();
- EXPECT_FALSE(file_util::DirectoryExists(test_path));
+ EXPECT_FALSE(base::DirectoryExists(test_path));
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698