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

Unified Diff: content/browser/renderer_host/browser_render_process_host.cc

Issue 8033001: Delegate decision what site instances can be rendered in what process to chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 3 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/browser/renderer_host/browser_render_process_host.cc
diff --git a/content/browser/renderer_host/browser_render_process_host.cc b/content/browser/renderer_host/browser_render_process_host.cc
index 53ec7bafefa16054ea5562ea820937a8191d85b6..396eeec1ca0c96f640344730e509b6bef6af1462 100644
--- a/content/browser/renderer_host/browser_render_process_host.cc
+++ b/content/browser/renderer_host/browser_render_process_host.cc
@@ -999,3 +999,9 @@ void BrowserRenderProcessHost::OnSavedPageAsMHTML(int job_id, bool success) {
content::GetContentClient()->browser()->GetMHTMLGenerationManager()->
MHTMLGenerated(job_id, success);
}
+
+bool BrowserRenderProcessHost::IsSuitableHost(const GURL& site_url) {
jam 2011/09/26 15:46:16 it's unclear to me why you implement have this met
+ if (!RenderProcessHost::IsSuitableHost(site_url))
+ return false;
+ return content::GetContentClient()->browser()->IsSuitableHost(this, site_url);
+}

Powered by Google App Engine
This is Rietveld 408576698