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

Unified Diff: webkit/browser/fileapi/sandbox_isolated_origin_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
Index: webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc
diff --git a/webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc b/webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc
index b334741ed5081156e77c66ddaad29b2b94678135..f430fa00daadb5f259095522b552dc9fb936a8d2 100644
--- a/webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc
+++ b/webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc
@@ -47,7 +47,7 @@ TEST(SandboxIsolatedOriginDatabaseTest, MigrationTest) {
{
SandboxOriginDatabase database_old(dir.path());
old_db_path = database_old.GetDatabasePath();
- EXPECT_FALSE(file_util::PathExists(old_db_path));
+ EXPECT_FALSE(base::PathExists(old_db_path));
EXPECT_TRUE(database_old.GetPathForOrigin(kOrigin, &path));
EXPECT_FALSE(path.empty());
EXPECT_TRUE(file_util::DirectoryExists(old_db_path));
@@ -75,13 +75,13 @@ TEST(SandboxIsolatedOriginDatabaseTest, MigrationTest) {
std::string origin_db_data;
base::FilePath directory_db_path = dir.path().Append(path);
EXPECT_TRUE(file_util::DirectoryExists(directory_db_path));
- EXPECT_TRUE(file_util::PathExists(directory_db_path.AppendASCII("dummy")));
+ EXPECT_TRUE(base::PathExists(directory_db_path.AppendASCII("dummy")));
EXPECT_TRUE(file_util::ReadFileToString(
directory_db_path.AppendASCII("dummy"), &origin_db_data));
EXPECT_EQ(kFakeDirectoryData, origin_db_data);
// After the migration the database must be gone.
- EXPECT_FALSE(file_util::PathExists(old_db_path));
+ EXPECT_FALSE(base::PathExists(old_db_path));
}
} // namespace fileapi
« no previous file with comments | « webkit/browser/fileapi/sandbox_isolated_origin_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