Index: content/renderer/render_thread_impl.h |
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h |
index 305bd162fae0be0ba87335b16d6064f223dda4d3..93a95cfdcdf1fbb1b023feb327b899b67461b92f 100644 |
--- a/content/renderer/render_thread_impl.h |
+++ b/content/renderer/render_thread_impl.h |
@@ -21,6 +21,8 @@ |
#include "content/common/gpu/client/gpu_channel_host.h" |
#include "content/common/gpu/gpu_process_launch_causes.h" |
#include "content/public/renderer/render_thread.h" |
+#include "content/renderer/browser_plugin/browser_plugin_channel_manager.h" |
+#include "content/renderer/browser_plugin/browser_plugin_registry.h" |
jam
2012/05/16 02:22:40
nit: per style guide, forward declare where possib
Fady Samuel
2012/05/16 04:43:54
Done.
|
#include "ipc/ipc_channel_proxy.h" |
#include "ui/gfx/native_widget_types.h" |
@@ -163,6 +165,14 @@ class CONTENT_EXPORT RenderThreadImpl : public content::RenderThread, |
return compositor_thread_.get(); |
} |
+ content::BrowserPluginRegistry* browser_plugin_registry() const { |
+ return browser_plugin_registry_.get(); |
+ } |
+ |
+ content::BrowserPluginChannelManager* browser_plugin_channel_manager() const { |
+ return channel_manager_.get(); |
+ } |
+ |
AppCacheDispatcher* appcache_dispatcher() const { |
return appcache_dispatcher_.get(); |
} |
@@ -221,6 +231,7 @@ class CONTENT_EXPORT RenderThreadImpl : public content::RenderThread, |
scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; |
scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; |
+ scoped_refptr<content::BrowserPluginChannelManager> channel_manager_; |
// Used on the render thread and deleted by WebKit at shutdown. |
content::MediaStreamCenter* media_stream_center_; |
@@ -272,6 +283,7 @@ class CONTENT_EXPORT RenderThreadImpl : public content::RenderThread, |
bool compositor_initialized_; |
scoped_ptr<CompositorThread> compositor_thread_; |
+ scoped_ptr<content::BrowserPluginRegistry> browser_plugin_registry_; |
ObserverList<content::RenderProcessObserver> observers_; |