| 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 c5bf60f82d3bb0d061600f5a1c938cba3e5d0d47..8f7e45e4fe9b986f01a64fb898a7d541aa76b260 100644
|
| --- a/content/public/browser/render_process_host.h
|
| +++ b/content/public/browser/render_process_host.h
|
| @@ -304,6 +304,16 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
|
| virtual void IncrementSharedWorkerRefCount() = 0;
|
| virtual void DecrementSharedWorkerRefCount() = 0;
|
|
|
| + // Sets worker ref counts to zero. Called when the browser context will be
|
| + // destroyed so this RenderProcessHost can immediately die.
|
| + //
|
| + // After this is called, the Increment/DecrementWorkerRefCount functions must
|
| + // not be called.
|
| + virtual void ForceReleaseWorkerRefCounts() = 0;
|
| +
|
| + // Returns true if ForceReleaseWorkerRefCounts was called.
|
| + virtual bool IsWorkerRefCountDisabled() = 0;
|
| +
|
| // Purges and suspends the renderer process.
|
| virtual void PurgeAndSuspend() = 0;
|
|
|
|
|