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

Unified Diff: content/renderer/render_thread_impl.h

Issue 9968097: Browser Plugin: Renderer-side changes (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated after merging with ToT Created 8 years, 7 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/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_;

Powered by Google App Engine
This is Rietveld 408576698