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 8edeb8458a3428f17d5d3b0b7348886335a15989..30a96f368a57b2621e8f4bf94593651c7f756e0e 100644 |
--- a/content/public/browser/render_process_host.h |
+++ b/content/public/browser/render_process_host.h |
@@ -304,10 +304,11 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, |
// Returns true if this process currently has backgrounded priority. |
virtual bool IsProcessBackgrounded() const = 0; |
- // Called when the existence of the other renderer process which is connected |
- // to the Worker in this renderer process has changed. |
+ virtual size_t GetWorkerRefCount() const = 0; |
virtual void IncrementServiceWorkerRefCount() = 0; |
virtual void DecrementServiceWorkerRefCount() = 0; |
Avi (use Gerrit)
2016/12/14 06:41:07
Extra blank line after these lines.
Please add a
shimazu
2016/12/14 08:01:20
Done.
|
+ // Called when the existence of the other renderer process which is connected |
+ // to the Worker in this renderer process has changed. |
Avi (use Gerrit)
2016/12/14 06:41:07
This sentence is hard to follow. Can you clarify?
falken
2016/12/14 06:58:51
Yea this is complex but not from this patch. I mea
shimazu
2016/12/14 08:01:20
Updated the comment, thanks!
|
virtual void IncrementSharedWorkerRefCount() = 0; |
virtual void DecrementSharedWorkerRefCount() = 0; |