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

Unified Diff: webkit/common/blob/shareable_file_reference_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/quota/quota_database_unittest.cc ('k') | webkit/glue/webfileutilities_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/blob/shareable_file_reference_unittest.cc
diff --git a/webkit/common/blob/shareable_file_reference_unittest.cc b/webkit/common/blob/shareable_file_reference_unittest.cc
index 14ab6684e2824de490047aa90f04ce85998ac11d..6ba94d2260017f7fc416422ed25cfaa3de18bdda 100644
--- a/webkit/common/blob/shareable_file_reference_unittest.cc
+++ b/webkit/common/blob/shareable_file_reference_unittest.cc
@@ -22,7 +22,7 @@ TEST(ShareableFileReferenceTest, TestReferences) {
// Create a file.
base::FilePath file;
file_util::CreateTemporaryFileInDir(temp_dir.path(), &file);
- EXPECT_TRUE(file_util::PathExists(file));
+ EXPECT_TRUE(base::PathExists(file));
// Create a first reference to that file.
scoped_refptr<ShareableFileReference> reference1;
@@ -45,13 +45,13 @@ TEST(ShareableFileReferenceTest, TestReferences) {
reference1 = NULL;
EXPECT_TRUE(ShareableFileReference::Get(file).get());
base::MessageLoop::current()->RunUntilIdle();
- EXPECT_TRUE(file_util::PathExists(file));
+ EXPECT_TRUE(base::PathExists(file));
// Drop the second reference, the file and reference should get deleted.
reference2 = NULL;
EXPECT_FALSE(ShareableFileReference::Get(file).get());
base::MessageLoop::current()->RunUntilIdle();
- EXPECT_FALSE(file_util::PathExists(file));
+ EXPECT_FALSE(base::PathExists(file));
// TODO(michaeln): add a test for files that aren't deletable behavior.
}
« no previous file with comments | « webkit/browser/quota/quota_database_unittest.cc ('k') | webkit/glue/webfileutilities_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698