Chromium Code Reviews| Index: content/browser/renderer_host/render_process_host_impl.cc |
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
| index a3fa88a3f8ea5b1f919a76f48d004732d274b8bb..0e713f22e319d6fb42794d1d29c315ec3baae5fc 100644 |
| --- a/content/browser/renderer_host/render_process_host_impl.cc |
| +++ b/content/browser/renderer_host/render_process_host_impl.cc |
| @@ -42,6 +42,7 @@ |
| #include "content/browser/appcache/chrome_appcache_service.h" |
| #include "content/browser/browser_main.h" |
| #include "content/browser/browser_main_loop.h" |
| +#include "content/browser/browser_plugin/renderer_host/browser_plugin_message_filter.h" |
| #include "content/browser/child_process_security_policy_impl.h" |
| #include "content/browser/device_orientation/message_filter.h" |
| #include "content/browser/download/mhtml_generation_manager.h" |
| @@ -459,6 +460,9 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
| widget_helper_, |
| media_observer)); |
| channel_->AddFilter(render_message_filter); |
| + scoped_refptr<BrowserPluginMessageFilter> browser_plugin_message_filter( |
| + new BrowserPluginMessageFilter(GetID())); |
| + channel_->AddFilter(browser_plugin_message_filter); |
|
jam
2012/03/30 05:44:11
nit: we only create a local variable if we need to
Fady Samuel
2012/04/03 17:01:45
This has been deleted. BrowserPluginMessageFilter
|
| content::BrowserContext* browser_context = GetBrowserContext(); |
| content::ResourceContext* resource_context = |
| browser_context->GetResourceContext(); |