| Index: content/test/test_render_view_host_factory.h
|
| ===================================================================
|
| --- content/test/test_render_view_host_factory.h (revision 164732)
|
| +++ content/test/test_render_view_host_factory.h (working copy)
|
| @@ -23,18 +23,18 @@
|
| class TestRenderViewHostFactory : public RenderViewHostFactory {
|
| public:
|
| explicit TestRenderViewHostFactory(
|
| - content::RenderProcessHostFactory* rph_factory);
|
| + RenderProcessHostFactory* rph_factory);
|
| virtual ~TestRenderViewHostFactory();
|
|
|
| virtual void set_render_process_host_factory(
|
| - content::RenderProcessHostFactory* rph_factory);
|
| - virtual content::RenderViewHost* CreateRenderViewHost(
|
| - content::SiteInstance* instance,
|
| - content::RenderViewHostDelegate* delegate,
|
| - content::RenderWidgetHostDelegate* widget_delegate,
|
| + RenderProcessHostFactory* rph_factory);
|
| + virtual RenderViewHost* CreateRenderViewHost(
|
| + SiteInstance* instance,
|
| + RenderViewHostDelegate* delegate,
|
| + RenderWidgetHostDelegate* widget_delegate,
|
| int routing_id,
|
| bool swapped_out,
|
| - content::SessionStorageNamespace* session_storage) OVERRIDE;
|
| + SessionStorageNamespace* session_storage) OVERRIDE;
|
|
|
| private:
|
| // This is a bit of a hack. With the current design of the site instances /
|
| @@ -44,7 +44,7 @@
|
| // Instead, we set it right before we create a new RenderViewHost, which
|
| // happens before the RenderProcessHost is created. This way, the instance
|
| // has the correct factory and creates our special RenderProcessHosts.
|
| - content::RenderProcessHostFactory* render_process_host_factory_;
|
| + RenderProcessHostFactory* render_process_host_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TestRenderViewHostFactory);
|
| };
|
|
|