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

Unified Diff: webkit/browser/database/database_tracker.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: webkit/browser/database/database_tracker.cc
diff --git a/webkit/browser/database/database_tracker.cc b/webkit/browser/database/database_tracker.cc
index aa6838bccadee7fff7ab8819faef1f2518ab7aa4..ce155ca3b05fa1b2b3326a282789598cd34d21d1 100644
--- a/webkit/browser/database/database_tracker.cc
+++ b/webkit/browser/database/database_tracker.cc
@@ -468,7 +468,7 @@ bool DatabaseTracker::LazyInit() {
const base::FilePath kTrackerDatabaseFullPath =
db_dir_.Append(base::FilePath(kTrackerDatabaseFileName));
if (file_util::DirectoryExists(db_dir_) &&
- file_util::PathExists(kTrackerDatabaseFullPath) &&
+ base::PathExists(kTrackerDatabaseFullPath) &&
(!db_->Open(kTrackerDatabaseFullPath) ||
!sql::MetaTable::DoesTableExist(db_.get()))) {
db_->Close();
« no previous file with comments | « webkit/browser/appcache/appcache_database_unittest.cc ('k') | webkit/browser/database/database_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698