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

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

Issue 18584011: Rename base::Delete to base::DeleteFile (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: 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 917eac791415effa3a8cbb5a93bdf0dd5f6004e4..91c0c829cd7b4309e020b5fd010956e70bba7cfb 100644
--- a/content/browser/indexed_db/indexed_db_context_impl.cc
+++ b/content/browser/indexed_db/indexed_db_context_impl.cc
@@ -81,7 +81,7 @@ void ClearSessionOnlyOrigins(
continue;
if (special_storage_policy->IsStorageProtected(*iter))
continue;
- base::Delete(*file_path_iter, true);
+ base::DeleteFile(*file_path_iter, true);
}
}
@@ -173,7 +173,7 @@ void IndexedDBContextImpl::DeleteForOrigin(const GURL& origin_url) {
base::FilePath idb_directory = GetFilePath(origin_url);
EnsureDiskUsageCacheInitialized(origin_url);
const bool recursive = true;
- bool deleted = base::Delete(idb_directory, recursive);
+ bool deleted = base::DeleteFile(idb_directory, recursive);
QueryDiskAndUpdateQuotaUsage(origin_url);
if (deleted) {

Powered by Google App Engine
This is Rietveld 408576698