[ServiceWorkerCache] Call QuotaManager::NotifyStorageModified from Cache.
With this call the quota manager can delete origins modified in the last X hours. Changes: * Plumb origin and QuotaManagerProxy through to ServiceWorkerCache. * Call NotifyStorageModified on SWCache::Put() and SWCache::Delete() with the delta being the number of content bytes written (not including caching structure overhead). * Update the tests to use a MockQuotaManagerProxy instead of passing a nullptr. Upstream of: https://codereview.chromium.org/672943002 BUG=420159 Review URL: https://codereview.chromium.org/674873002 Cr-Commit-Position: refs/heads/master@{#301086}
Showing
This diff is collapsed.
Please register or sign in to comment