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

Unified Diff: content/browser/storage_partition_impl.cc

Issue 633273002: Added quota client for serviceworker. Enables 'clear past <time> data'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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 | « content/browser/service_worker/service_worker_storage.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/storage_partition_impl.cc
diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
index 531e63824285d7c3878c61c71388d1867520758f..1e262553c703d7a880710e853456630b1721cada 100644
--- a/content/browser/storage_partition_impl.cc
+++ b/content/browser/storage_partition_impl.cc
@@ -233,7 +233,8 @@ int StoragePartitionImpl::GenerateQuotaClientMask(uint32 remove_mask) {
quota_client_mask |= storage::QuotaClient::kAppcache;
if (remove_mask & StoragePartition::REMOVE_DATA_MASK_INDEXEDDB)
quota_client_mask |= storage::QuotaClient::kIndexedDatabase;
- // TODO(jsbell): StoragePartition::REMOVE_DATA_MASK_SERVICE_WORKERS)
+ if (remove_mask & StoragePartition::REMOVE_DATA_MASK_SERVICE_WORKERS)
+ quota_client_mask |= storage::QuotaClient::kServiceWorker;
return quota_client_mask;
}
« no previous file with comments | « content/browser/service_worker/service_worker_storage.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698