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

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

Issue 9609008: Implemented Browser Plugin (NOT FOR REVIEW) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merged with Tip-of-Tree 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 ed47da7ae7c1395bb7e1e4fa237999c5962fe41e..c6e69daf19284a366a7a2c5d0a133f6ef5f4f73a 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -57,6 +57,7 @@
#include "content/browser/mime_registry_message_filter.h"
#include "content/browser/plugin_service_impl.h"
#include "content/browser/profiler_message_filter.h"
+#include "content/browser/renderer_host/browser_plugin_message_filter.h"
#include "content/browser/renderer_host/clipboard_message_filter.h"
#include "content/browser/renderer_host/database_message_filter.h"
#include "content/browser/renderer_host/file_utilities_message_filter.h"
@@ -453,6 +454,9 @@ void RenderProcessHostImpl::CreateMessageFilters() {
GetBrowserContext()->GetRequestContextForRenderProcess(GetID()),
widget_helper_));
channel_->AddFilter(render_message_filter);
+ scoped_refptr<BrowserPluginMessageFilter> browser_plugin_message_filter(
+ new BrowserPluginMessageFilter(GetID()));
+ channel_->AddFilter(browser_plugin_message_filter);
content::BrowserContext* browser_context = GetBrowserContext();
content::ResourceContext* resource_context =
browser_context->GetResourceContext();

Powered by Google App Engine
This is Rietveld 408576698