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

Unified Diff: webkit/browser/fileapi/sandbox_isolated_origin_database_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: 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 f430fa00daadb5f259095522b552dc9fb936a8d2..7eeab2185b64a101cf91754451f9b8d8db842152 100644
--- a/webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc
+++ b/webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc
@@ -50,7 +50,7 @@ TEST(SandboxIsolatedOriginDatabaseTest, MigrationTest) {
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));
+ EXPECT_TRUE(base::DirectoryExists(old_db_path));
// Populate the origin directory with some fake data.
base::FilePath directory_db_path = dir.path().Append(path);
@@ -74,7 +74,7 @@ TEST(SandboxIsolatedOriginDatabaseTest, MigrationTest) {
// so we should see the same fake data.
std::string origin_db_data;
base::FilePath directory_db_path = dir.path().Append(path);
- EXPECT_TRUE(file_util::DirectoryExists(directory_db_path));
+ EXPECT_TRUE(base::DirectoryExists(directory_db_path));
EXPECT_TRUE(base::PathExists(directory_db_path.AppendASCII("dummy")));
EXPECT_TRUE(file_util::ReadFileToString(
directory_db_path.AppendASCII("dummy"), &origin_db_data));
« no previous file with comments | « webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc ('k') | webkit/browser/fileapi/transient_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698