Index: content/public/browser/render_process_host.h |
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h |
index de2843d4f796f29416cb0b0fa51a550588773de1..cccbc8b153c997fd15e496c3f1578df7dea1f721 100644 |
--- a/content/public/browser/render_process_host.h |
+++ b/content/public/browser/render_process_host.h |
@@ -306,6 +306,10 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, |
virtual void IncrementWorkerRefCount() = 0; |
virtual void DecrementWorkerRefCount() = 0; |
+ // Called when the browser context will be destroyed to release the process |
+ // which have been kept alive for shared workers. |
+ virtual void ForceReleaseWorkerRefCount() = 0; |
+ |
// Purges and suspends the renderer process. |
virtual void PurgeAndSuspend() = 0; |