Chromium Code Reviews| Index: content/browser/service_worker/service_worker_storage.cc |
| diff --git a/content/browser/service_worker/service_worker_storage.cc b/content/browser/service_worker/service_worker_storage.cc |
| index 54eacd657f51bf4593d953a1f8bdf61a97cf6656..68aa0cd219ebc51528a48907c85500ce5866ce53 100644 |
| --- a/content/browser/service_worker/service_worker_storage.cc |
| +++ b/content/browser/service_worker/service_worker_storage.cc |
| @@ -457,6 +457,12 @@ void ServiceWorkerStorage::StoreRegistration( |
| callback))); |
| registration->set_is_deleted(false); |
| + |
| + quota_manager_proxy_->NotifyStorageModified( |
|
michaeln
2014/10/08 23:09:16
We'll also have to call NotifyStorageModified for
dmurph
2014/10/11 00:02:26
We don't care about deletions for cache clearing,
michaeln
2014/10/14 00:50:31
I believe we do.
|
| + storage::QuotaClient::kServiceWorker, |
| + registration->pattern().GetOrigin(), |
| + storage::StorageType::kStorageTypePersistent, |
|
jsbell
2014/10/08 19:26:41
Persistent->Temporary (again, sorry, my bad)
dmurph
2014/10/11 00:02:26
Done.
|
| + 0); |
| } |
| void ServiceWorkerStorage::UpdateToActiveState( |