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

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

Issue 9924026: Browser side implementation of browser plugin (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated RenderProcessHostImpl Created 8 years, 9 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/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();

Powered by Google App Engine
This is Rietveld 408576698