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

Unified Diff: webkit/browser/fileapi/sandbox_file_system_backend_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_file_system_backend_unittest.cc
diff --git a/webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc b/webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc
index 2794df365dc8eba1c5f10ad93be36178ee8c87be..373e684776234374662ea4d3616f9c428d17220d 100644
--- a/webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc
+++ b/webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc
@@ -105,7 +105,7 @@ class SandboxFileSystemBackendTest : public testing::Test {
base::FilePath target = backend_->
GetBaseDirectoryForOriginAndType(origin, type, true);
ASSERT_TRUE(!target.empty());
- ASSERT_TRUE(file_util::DirectoryExists(target));
+ ASSERT_TRUE(base::DirectoryExists(target));
}
bool GetRootPath(const GURL& origin_url,
@@ -255,7 +255,7 @@ TEST_F(SandboxFileSystemBackendTest, GetRootPathCreateAndExamine) {
base::FilePath expected = file_system_path().AppendASCII(
kRootPathTestCases[i].expected_path);
EXPECT_EQ(expected.value(), root_path.value());
- EXPECT_TRUE(file_util::DirectoryExists(root_path));
+ EXPECT_TRUE(base::DirectoryExists(root_path));
ASSERT_TRUE(returned_root_path.size() > i);
returned_root_path[i] = root_path;
}
@@ -353,7 +353,7 @@ TEST_F(SandboxFileSystemBackendTest, GetRootPathFileURIWithAllowFlag) {
base::FilePath expected = file_system_path().AppendASCII(
kRootPathFileURITestCases[i].expected_path);
EXPECT_EQ(expected.value(), root_path.value());
- EXPECT_TRUE(file_util::DirectoryExists(root_path));
+ EXPECT_TRUE(base::DirectoryExists(root_path));
}
}

Powered by Google App Engine
This is Rietveld 408576698