| Index: content/browser/renderer_host/render_process_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
|
| index d2fbe9a5599def233956b3e7a109e8ed8db016d1..7f30ad8207e8dba109b4da2646fd8c340c9dff23 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.h
|
| +++ b/content/browser/renderer_host/render_process_host_impl.h
|
| @@ -226,6 +226,11 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| is_guest_ = is_guest;
|
| }
|
|
|
| + // Called when the existance of the other renderer process which is connected
|
| + // to the SharedWorker in this renderer process has changed.
|
| + // It is only called when "enable-embedded-shared-worker" flag is set.
|
| + void NotifySharedWorkerHasClients(bool shared_worker_has_clients);
|
| +
|
| protected:
|
| // A proxy for our IPC::Channel that lives on the IO thread (see
|
| // browser_process.h)
|
| @@ -415,6 +420,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| // Message filter and dispatcher for screen orientation.
|
| ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_;
|
|
|
| + bool shared_worker_has_clients_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
|
| };
|
|
|
|
|