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

Unified Diff: net/disk_cache/simple/simple_index_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 | « net/disk_cache/simple/simple_index_file.cc ('k') | net/dns/dns_hosts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/simple/simple_index_file_unittest.cc
diff --git a/net/disk_cache/simple/simple_index_file_unittest.cc b/net/disk_cache/simple/simple_index_file_unittest.cc
index 8e5b88d07d4c2252311c254111075bed60541f88..e2493f9baafcafbbad48369059e05a227d530166 100644
--- a/net/disk_cache/simple/simple_index_file_unittest.cc
+++ b/net/disk_cache/simple/simple_index_file_unittest.cc
@@ -196,7 +196,7 @@ TEST_F(SimpleIndexFileTest, WriteThenLoadIndex) {
simple_index_file.WriteToDisk(entries, kCacheSize,
base::TimeTicks(), false);
base::RunLoop().RunUntilIdle();
- EXPECT_TRUE(file_util::PathExists(index_path));
+ EXPECT_TRUE(base::PathExists(index_path));
}
WrappedSimpleIndexFile simple_index_file(temp_dir.path());
@@ -204,7 +204,7 @@ TEST_F(SimpleIndexFileTest, WriteThenLoadIndex) {
GetCallback());
base::RunLoop().RunUntilIdle();
- EXPECT_TRUE(file_util::PathExists(index_path));
+ EXPECT_TRUE(base::PathExists(index_path));
ASSERT_TRUE(callback_result());
EXPECT_FALSE(callback_result()->force_index_flush);
const SimpleIndex::EntrySet* read_entries =
@@ -235,7 +235,7 @@ TEST_F(SimpleIndexFileTest, LoadCorruptIndex) {
GetCallback());
base::RunLoop().RunUntilIdle();
- EXPECT_FALSE(file_util::PathExists(index_path));
+ EXPECT_FALSE(base::PathExists(index_path));
ASSERT_TRUE(callback_result());
EXPECT_TRUE(callback_result()->force_index_flush);
EXPECT_TRUE(callback_result()->index_file_entries);
« no previous file with comments | « net/disk_cache/simple/simple_index_file.cc ('k') | net/dns/dns_hosts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698