Chromium Code Reviews| Index: content/browser/shared_worker/shared_worker_host.h |
| diff --git a/content/browser/shared_worker/shared_worker_host.h b/content/browser/shared_worker/shared_worker_host.h |
| index 0bb33b27e5c010ce371ff687ccdf3ebcc50d10b4..32235254aca259bd06ea7eca889ddbc316e16b6b 100644 |
| --- a/content/browser/shared_worker/shared_worker_host.h |
| +++ b/content/browser/shared_worker/shared_worker_host.h |
| @@ -57,6 +57,11 @@ class SharedWorkerHost { |
| void DocumentDetached(SharedWorkerMessageFilter* filter, |
| unsigned long long document_id); |
| + // Removes the references to shared workers from the all documents in the |
| + // renderer frame. And shuts down any shared workers that are no longer |
| + // referenced by active documents. |
| + void RenderFrameDetached(int render_process_id, int render_frame_id); |
|
no sievers
2016/08/22 21:13:37
Could this even just implemenent WebContentsObserv
horo
2016/08/23 05:11:34
Done.
|
| + |
| void WorkerContextClosed(); |
| void WorkerReadyForInspection(); |
| void WorkerScriptLoaded(); |