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..fe55b99ca815844d1e0b091f27058d262fc45ad0 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 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:03
AllDocument -> AllDocuments
"Removes the referenc
horo
2016/08/17 07:15:54
Done.
|
+ |
void WorkerContextClosed(); |
void WorkerReadyForInspection(); |
void WorkerScriptLoaded(); |