| 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 358f8b4882794b54fe930ba14aa9c299d43170ac..ef58b64c9736c2da687203e7fae275b0dc197d8a 100644
|
| --- a/content/public/browser/render_process_host.h
|
| +++ b/content/public/browser/render_process_host.h
|
| @@ -45,6 +45,10 @@ class RenderWidgetHost;
|
| class StoragePartition;
|
| struct GlobalRequestID;
|
|
|
| +namespace mojom {
|
| +class Renderer;
|
| +}
|
| +
|
| // Interface that represents the browser side of the browser <-> renderer
|
| // communication channel. There will generally be one RenderProcessHost per
|
| // renderer process.
|
| @@ -316,6 +320,11 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
|
| // Purges and suspends the renderer process.
|
| virtual void PurgeAndSuspend() = 0;
|
|
|
| + // Acquires the |mojom::Renderer| interface to the render process. This is for
|
| + // internal use only, and is only exposed here to support
|
| + // MockRenderProcessHost usage in tests.
|
| + virtual mojom::Renderer* GetRendererInterface() = 0;
|
| +
|
| // Returns the current number of active views in this process. Excludes
|
| // any RenderViewHosts that are swapped out.
|
| size_t GetActiveViewCount();
|
|
|