Chromium Code Reviews| Index: content/browser/shared_worker/shared_worker_service_impl.h |
| diff --git a/content/browser/shared_worker/shared_worker_service_impl.h b/content/browser/shared_worker/shared_worker_service_impl.h |
| index 322817431add2eb001e392163f2795a10bd51b11..d8a49a616c7525f6936a7e13633a2df7cf692dc4 100644 |
| --- a/content/browser/shared_worker/shared_worker_service_impl.h |
| +++ b/content/browser/shared_worker/shared_worker_service_impl.h |
| @@ -86,6 +86,11 @@ class CONTENT_EXPORT SharedWorkerServiceImpl |
| void OnSharedWorkerMessageFilterClosing( |
| SharedWorkerMessageFilter* filter); |
| + // Removes the references from the all documents in the renderer process which |
| + // is associated with |filter_| to shared workers. And shuts down any shared |
| + // workers that are no longer referenced by active documents. |
| + void DetachAllDocument(SharedWorkerMessageFilter* filter); |
|
nhiroki
2016/08/17 06:58:04
ditto
horo
2016/08/17 07:15:55
Done.
|
| + |
| // Checks the worker dependency of renderer processes and calls |
| // IncrementWorkerRefCount and DecrementWorkerRefCount of |
| // RenderProcessHostImpl on UI thread if necessary. |