Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1091)

Unified Diff: content/public/browser/render_process_host_factory.h

Issue 16490003: Pass the SiteInstance into CreateRenderProcessHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove ContentBrowserClient, which is global, from argument list Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/site_instance_impl.cc ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..aeec3595d1c58ca86d38b07d7a7167537a7cbf15 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,10 @@ class RenderProcessHostFactory {
public:
virtual ~RenderProcessHostFactory() {}
virtual RenderProcessHost* CreateRenderProcessHost(
- BrowserContext* browser_context) const = 0;
+ BrowserContext* browser_context,
+ SiteInstance* site_instance) const = 0;
};
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_FACTORY_H_
-
« no previous file with comments | « content/browser/site_instance_impl.cc ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698