Chromium Code Reviews| Index: content/browser/service_worker/service_worker_storage.h |
| diff --git a/content/browser/service_worker/service_worker_storage.h b/content/browser/service_worker/service_worker_storage.h |
| index b25f26b2692ab5602fc477d09e0082217132ce97..0f675898784f686fdedbb9ab2ede135f373b232f 100644 |
| --- a/content/browser/service_worker/service_worker_storage.h |
| +++ b/content/browser/service_worker/service_worker_storage.h |
| @@ -254,8 +254,11 @@ class CONTENT_EXPORT ServiceWorkerStorage |
| // ServiceWorkerVersion::Listener override |
| virtual void OnNoControllees(ServiceWorkerVersion* version) OVERRIDE; |
| - void SchedulePurgeResources(int64 version_id, |
| - const std::vector<int64>& resources); |
| + // Sets the version to redundant and purges its resources. If the version |
| + // is controlling a page, defers until the version no longer controls a page. |
| + void DecommissionVersion(int64 version_id, |
|
falken
2014/07/09 08:47:13
suggestions on this naming are welcome. My other t
|
| + const std::vector<int64>& resources); |
| + |
| void StartPurgingResources(const std::vector<int64>& ids); |
| void StartPurgingResources(const ResourceList& resources); |
| void ContinuePurgingResources(); |