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

Unified Diff: webkit/browser/appcache/appcache_database_unittest.cc

Issue 18286004: Move PathExists to 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
« no previous file with comments | « webkit/browser/appcache/appcache_database.cc ('k') | webkit/browser/database/database_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/appcache/appcache_database_unittest.cc
diff --git a/webkit/browser/appcache/appcache_database_unittest.cc b/webkit/browser/appcache/appcache_database_unittest.cc
index e1a51421b932c82010fa590457ffd3b6e1b5af6c..5974d8339d8f3c57a231bc208870b4db81a758a3 100644
--- a/webkit/browser/appcache/appcache_database_unittest.cc
+++ b/webkit/browser/appcache/appcache_database_unittest.cc
@@ -66,15 +66,15 @@ TEST(AppCacheDatabaseTest, ReCreate) {
EXPECT_FALSE(db.LazyOpen(false));
EXPECT_TRUE(db.LazyOpen(true));
- EXPECT_TRUE(file_util::PathExists(kDbFile));
+ EXPECT_TRUE(base::PathExists(kDbFile));
EXPECT_TRUE(file_util::DirectoryExists(kNestedDir));
- EXPECT_TRUE(file_util::PathExists(kOtherFile));
+ EXPECT_TRUE(base::PathExists(kOtherFile));
EXPECT_TRUE(db.DeleteExistingAndCreateNewDatabase());
- EXPECT_TRUE(file_util::PathExists(kDbFile));
+ EXPECT_TRUE(base::PathExists(kDbFile));
EXPECT_FALSE(file_util::DirectoryExists(kNestedDir));
- EXPECT_FALSE(file_util::PathExists(kOtherFile));
+ EXPECT_FALSE(base::PathExists(kOtherFile));
}
TEST(AppCacheDatabaseTest, ExperimentalFlags) {
@@ -87,7 +87,7 @@ TEST(AppCacheDatabaseTest, ExperimentalFlags) {
const base::FilePath kDbFile = temp_dir.path().AppendASCII("appcache.db");
const base::FilePath kOtherFile = temp_dir.path().AppendASCII("other_file");
EXPECT_EQ(3, file_util::WriteFile(kOtherFile, "foo", 3));
- EXPECT_TRUE(file_util::PathExists(kOtherFile));
+ EXPECT_TRUE(base::PathExists(kOtherFile));
AppCacheDatabase db(kDbFile);
EXPECT_TRUE(db.LazyOpen(true));
@@ -104,7 +104,7 @@ TEST(AppCacheDatabaseTest, ExperimentalFlags) {
EXPECT_TRUE(db.LazyOpen(false));
EXPECT_TRUE(db.meta_table_->GetValue(kExperimentFlagsKey, &flags));
EXPECT_TRUE(flags.empty());
- EXPECT_FALSE(file_util::PathExists(kOtherFile));
+ EXPECT_FALSE(base::PathExists(kOtherFile));
}
TEST(AppCacheDatabaseTest, EntryRecords) {
« no previous file with comments | « webkit/browser/appcache/appcache_database.cc ('k') | webkit/browser/database/database_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698