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

Unified Diff: content/public/test/mock_render_process_host.cc

Issue 16490003: Pass the SiteInstance into CreateRenderProcessHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: content/public/test/mock_render_process_host.cc
diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc
index f56e0f5e33abc0298c7ae9c09ef725ae92df8924..dccc52d989180037bf69f9b33d712637030881cd 100644
--- a/content/public/test/mock_render_process_host.cc
+++ b/content/public/test/mock_render_process_host.cc
@@ -253,7 +253,9 @@ MockRenderProcessHostFactory::~MockRenderProcessHostFactory() {
}
RenderProcessHost* MockRenderProcessHostFactory::CreateRenderProcessHost(
- BrowserContext* browser_context) const {
+ BrowserContext* browser_context,
+ SiteInstance* site_instance,
+ ContentBrowserClient* client) const {
MockRenderProcessHost* host = new MockRenderProcessHost(browser_context);
if (host) {
processes_.push_back(host);

Powered by Google App Engine
This is Rietveld 408576698