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

Unified Diff: webkit/browser/fileapi/transient_file_util_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/fileapi/sandbox_origin_database_unittest.cc ('k') | webkit/browser/quota/quota_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/fileapi/transient_file_util_unittest.cc
diff --git a/webkit/browser/fileapi/transient_file_util_unittest.cc b/webkit/browser/fileapi/transient_file_util_unittest.cc
index 66be6db31e59648e3e7ffde29a1826dfcf15b4b7..02a2329bbe6c2adff8e1ee66445f99120ce22fb7 100644
--- a/webkit/browser/fileapi/transient_file_util_unittest.cc
+++ b/webkit/browser/fileapi/transient_file_util_unittest.cc
@@ -85,7 +85,7 @@ TEST_F(TransientFileUtilTest, TransientFile) {
// Make sure the file is there.
ASSERT_TRUE(temp_url.is_valid());
- ASSERT_TRUE(file_util::PathExists(temp_path));
+ ASSERT_TRUE(base::PathExists(temp_path));
ASSERT_FALSE(file_util::DirectoryExists(temp_path));
// Create a snapshot file.
@@ -101,7 +101,7 @@ TEST_F(TransientFileUtilTest, TransientFile) {
ASSERT_FALSE(file_info.is_directory);
// The file should be still there.
- ASSERT_TRUE(file_util::PathExists(temp_path));
+ ASSERT_TRUE(base::PathExists(temp_path));
ASSERT_EQ(base::PLATFORM_FILE_OK,
file_util()->GetFileInfo(NewOperationContext().get(),
temp_url, &file_info, &path));
@@ -113,7 +113,7 @@ TEST_F(TransientFileUtilTest, TransientFile) {
base::MessageLoop::current()->RunUntilIdle();
// Now the temporary file and the transient filesystem must be gone too.
- ASSERT_FALSE(file_util::PathExists(temp_path));
+ ASSERT_FALSE(base::PathExists(temp_path));
ASSERT_EQ(base::PLATFORM_FILE_ERROR_NOT_FOUND,
file_util()->GetFileInfo(NewOperationContext().get(),
temp_url, &file_info, &path));
« no previous file with comments | « webkit/browser/fileapi/sandbox_origin_database_unittest.cc ('k') | webkit/browser/quota/quota_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698