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

Unified Diff: base/platform_file_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 | « base/path_service_unittest.cc ('k') | base/prefs/json_pref_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/platform_file_unittest.cc
diff --git a/base/platform_file_unittest.cc b/base/platform_file_unittest.cc
index 0ba77824ea66eb151e6b1c4bbe5a3da9075893db..a1f3927edddd63ace63927098c66dd36b53927f9 100644
--- a/base/platform_file_unittest.cc
+++ b/base/platform_file_unittest.cc
@@ -103,7 +103,7 @@ TEST(PlatformFile, CreatePlatformFile) {
EXPECT_EQ(base::PLATFORM_FILE_OK, error_code);
EXPECT_TRUE(base::ClosePlatformFile(file));
- EXPECT_FALSE(file_util::PathExists(file_path));
+ EXPECT_FALSE(base::PathExists(file_path));
}
TEST(PlatformFile, DeleteOpenFile) {
@@ -139,7 +139,7 @@ TEST(PlatformFile, DeleteOpenFile) {
// Close both handles and check that the file is gone.
base::ClosePlatformFile(file);
base::ClosePlatformFile(same_file);
- EXPECT_FALSE(file_util::PathExists(file_path));
+ EXPECT_FALSE(base::PathExists(file_path));
}
TEST(PlatformFile, ReadWritePlatformFile) {
« no previous file with comments | « base/path_service_unittest.cc ('k') | base/prefs/json_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698