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

Unified Diff: content/browser/indexed_db/indexed_db_context_impl.cc

Issue 16950028: Move file_util::Delete to the base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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: content/browser/indexed_db/indexed_db_context_impl.cc
diff --git a/content/browser/indexed_db/indexed_db_context_impl.cc b/content/browser/indexed_db/indexed_db_context_impl.cc
index 27c9eb27e6b526c22ebab4027746c20f5ee2f9d6..2156d354debd47d0a89602aa99f38249d48524da 100644
--- a/content/browser/indexed_db/indexed_db_context_impl.cc
+++ b/content/browser/indexed_db/indexed_db_context_impl.cc
@@ -83,7 +83,7 @@ void ClearSessionOnlyOrigins(
continue;
if (special_storage_policy->IsStorageProtected(*iter))
continue;
- file_util::Delete(*file_path_iter, true);
+ base::Delete(*file_path_iter, true);
}
}
@@ -175,7 +175,7 @@ void IndexedDBContextImpl::DeleteForOrigin(const GURL& origin_url) {
base::FilePath idb_directory = GetFilePath(origin_url);
EnsureDiskUsageCacheInitialized(origin_url);
const bool recursive = true;
- bool deleted = file_util::Delete(idb_directory, recursive);
+ bool deleted = base::Delete(idb_directory, recursive);
QueryDiskAndUpdateQuotaUsage(origin_url);
if (deleted) {

Powered by Google App Engine
This is Rietveld 408576698