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

Unified Diff: webkit/browser/dom_storage/dom_storage_database.cc

Issue 19052005: Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual to the 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 | « webkit/browser/database/database_tracker.cc ('k') | webkit/browser/fileapi/dump_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/dom_storage/dom_storage_database.cc
diff --git a/webkit/browser/dom_storage/dom_storage_database.cc b/webkit/browser/dom_storage/dom_storage_database.cc
index 12e38ed74ddac86fe3ef5f41d12703c0e6c39a75..8a94fc85cc322ff2e6fb3ac78b87691b95fe64e3 100644
--- a/webkit/browser/dom_storage/dom_storage_database.cc
+++ b/webkit/browser/dom_storage/dom_storage_database.cc
@@ -266,7 +266,7 @@ bool DomStorageDatabase::DeleteFileAndRecreate() {
tried_to_recreate_ = true;
// If it's not a directory and we can delete the file, try and open it again.
- if (!file_util::DirectoryExists(file_path_) &&
+ if (!base::DirectoryExists(file_path_) &&
sql::Connection::Delete(file_path_)) {
return LazyOpen(true);
}
« no previous file with comments | « webkit/browser/database/database_tracker.cc ('k') | webkit/browser/fileapi/dump_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698