Chromium Code Reviews| Index: content/public/browser/render_process_host_factory.h |
| diff --git a/content/public/browser/render_process_host_factory.h b/content/public/browser/render_process_host_factory.h |
| index d0111b6cb5928dca2cff2f517d5b7119e2e69d56..d67a3d59349be34c83e6f07c838def060b457d22 100644 |
| --- a/content/public/browser/render_process_host_factory.h |
| +++ b/content/public/browser/render_process_host_factory.h |
| @@ -10,7 +10,9 @@ |
| namespace content { |
| class BrowserContext; |
| +class ContentBrowserClient; |
| class RenderProcessHost; |
| +class SiteInstance; |
| // Factory object for RenderProcessHosts. Using this factory allows tests to |
| // swap out a different one to use a TestRenderProcessHost. |
| @@ -18,10 +20,11 @@ class RenderProcessHostFactory { |
| public: |
| virtual ~RenderProcessHostFactory() {} |
| virtual RenderProcessHost* CreateRenderProcessHost( |
| - BrowserContext* browser_context) const = 0; |
| + BrowserContext* browser_context, |
| + SiteInstance* site_instance, |
| + ContentBrowserClient* client) const = 0; |
|
Charlie Reis
2013/06/05 22:37:30
Hmm, isn't the ContentBrowserClient global? I don
Jeffrey Yasskin
2013/06/05 23:01:32
Good point. It's gone again.
|
| }; |
| } // namespace content |
| #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_FACTORY_H_ |
| - |