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

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

Issue 12518033: Browser Plugin: Only install BrowserPluginMessageFilter if render process supports BrowserPlugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 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.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index d12d0cc29e1640b227c42312d5a99d36306a49c5..62abd7be7aaf5ec34749cfd751f6c2d9674d58d7 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -61,6 +61,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
public:
RenderProcessHostImpl(BrowserContext* browser_context,
StoragePartitionImpl* storage_partition_impl,
+ bool supports_browser_plugin,
bool is_guest);
virtual ~RenderProcessHostImpl();
@@ -312,6 +313,10 @@ class CONTENT_EXPORT RenderProcessHostImpl
base::WaitableEvent dummy_shutdown_event_;
#endif
+ // Indicates whether this is a RenderProcessHost that has permission to embed
+ // Browser Plugins.
+ bool supports_browser_plugin_;
+
// Indicates whether this is a RenderProcessHost of a Browser Plugin guest
// renderer.
bool is_guest_;

Powered by Google App Engine
This is Rietveld 408576698