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

Unified Diff: webkit/browser/appcache/appcache_database.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 | « ui/gfx/icon_util_unittest.cc ('k') | webkit/browser/appcache/appcache_database_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/appcache/appcache_database.cc
diff --git a/webkit/browser/appcache/appcache_database.cc b/webkit/browser/appcache/appcache_database.cc
index 5f507d1906c7b0b8134ad9a6f17bfc7f5df63fb1..dc23be3b8a7d468ec81a915ae4af7e7fc40de7e8 100644
--- a/webkit/browser/appcache/appcache_database.cc
+++ b/webkit/browser/appcache/appcache_database.cc
@@ -994,7 +994,7 @@ bool AppCacheDatabase::LazyOpen(bool create_if_needed) {
// Avoid creating a database at all if we can.
bool use_in_memory_db = db_file_path_.empty();
if (!create_if_needed &&
- (use_in_memory_db || !file_util::PathExists(db_file_path_))) {
+ (use_in_memory_db || !base::PathExists(db_file_path_))) {
return false;
}
@@ -1179,7 +1179,7 @@ void AppCacheDatabase::ResetConnectionAndTables() {
bool AppCacheDatabase::DeleteExistingAndCreateNewDatabase() {
DCHECK(!db_file_path_.empty());
- DCHECK(file_util::PathExists(db_file_path_));
+ DCHECK(base::PathExists(db_file_path_));
VLOG(1) << "Deleting existing appcache data and starting over.";
ResetConnectionAndTables();
@@ -1192,7 +1192,7 @@ bool AppCacheDatabase::DeleteExistingAndCreateNewDatabase() {
}
// Make sure the steps above actually deleted things.
- if (file_util::PathExists(db_file_path_))
+ if (base::PathExists(db_file_path_))
return false;
// So we can't go recursive.
« no previous file with comments | « ui/gfx/icon_util_unittest.cc ('k') | webkit/browser/appcache/appcache_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698