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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_store_unittest_helper.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
Index: chrome/browser/safe_browsing/safe_browsing_store_unittest_helper.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_store_unittest_helper.cc b/chrome/browser/safe_browsing/safe_browsing_store_unittest_helper.cc
index acb34b21a0b83bca85d20be6d41d67af40963720..48f5e80707a9b2f2c810791cc31c1e4afff808ed 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store_unittest_helper.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_store_unittest_helper.cc
@@ -320,7 +320,7 @@ void SafeBrowsingStoreTestDeleteChunks(SafeBrowsingStore* store) {
void SafeBrowsingStoreTestDelete(SafeBrowsingStore* store,
const base::FilePath& filename) {
// Delete should work if the file wasn't there in the first place.
- EXPECT_FALSE(file_util::PathExists(filename));
+ EXPECT_FALSE(base::PathExists(filename));
EXPECT_TRUE(store->Delete());
// Create a store file.
@@ -345,7 +345,7 @@ void SafeBrowsingStoreTestDelete(SafeBrowsingStore* store,
&add_prefixes_result,
&add_full_hashes_result));
- EXPECT_TRUE(file_util::PathExists(filename));
+ EXPECT_TRUE(base::PathExists(filename));
EXPECT_TRUE(store->Delete());
- EXPECT_FALSE(file_util::PathExists(filename));
+ EXPECT_FALSE(base::PathExists(filename));
}

Powered by Google App Engine
This is Rietveld 408576698