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

Unified Diff: chrome/browser/renderer_host/chrome_render_view_host_observer.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: fix 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: chrome/browser/renderer_host/chrome_render_view_host_observer.cc
diff --git a/chrome/browser/renderer_host/chrome_render_view_host_observer.cc b/chrome/browser/renderer_host/chrome_render_view_host_observer.cc
index ada4a3b24c30d3eb7ddb71cf61d9ff64bfcb11d3..6a29d33dc3b0264bcd77508a9155c086ec46085b 100644
--- a/chrome/browser/renderer_host/chrome_render_view_host_observer.cc
+++ b/chrome/browser/renderer_host/chrome_render_view_host_observer.cc
@@ -97,6 +97,8 @@ void ChromeRenderViewHostObserver::InitRenderViewHostForExtensions() {
render_view_host()->AllowBindings(BindingsPolicy::EXTENSION);
Aaron Boodman 2011/09/27 19:26:49 I had hoped we'd be able to get rid of BindingsPol
jochen (gone - plz use gerrit) 2011/09/27 20:41:40 True, looks like we could get rid of this entirely
Aaron Boodman 2011/09/27 20:50:53 Actually, now that I look at this, how come we can
ChildProcessSecurityPolicy::GetInstance()->GrantExtensionBindings(
render_view_host()->process()->id());
+ process_manager->RegisterProcessHostWithBindings(
+ render_view_host()->process()->id());
}
}

Powered by Google App Engine
This is Rietveld 408576698