Index: content/renderer/render_thread_impl.h |
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h |
index 04c096d36578ef9cbf57c1cab6c7f7ae397ffa6e..4b246577f48942ce199d986ee69cf9e8351f96b9 100644 |
--- a/content/renderer/render_thread_impl.h |
+++ b/content/renderer/render_thread_impl.h |
@@ -40,6 +40,8 @@ struct ViewMsg_New_Params; |
class WebDatabaseObserverImpl; |
namespace WebKit { |
+class WebMediaStreamCenter; |
+class WebMediaStreamCenterClient; |
class WebStorageEventDispatcher; |
} |
@@ -52,6 +54,7 @@ class ScopedCOMInitializer; |
} |
namespace content { |
+class MediaStreamCenter; |
class RenderProcessObserver; |
} |
@@ -169,6 +172,11 @@ class CONTENT_EXPORT RenderThreadImpl : public content::RenderThread, |
return audio_message_filter_.get(); |
} |
+ // Creates the embedder implementation of WebMediaStreamCenter. |
+ // The resulting object is owned by WebKit and deleted by WebKit at tear-down. |
+ WebKit::WebMediaStreamCenter* CreateMediaStreamCenter( |
+ WebKit::WebMediaStreamCenterClient* client); |
+ |
VideoCaptureImplManager* video_capture_impl_manager() const { |
return vc_manager_.get(); |
} |
@@ -212,6 +220,9 @@ class CONTENT_EXPORT RenderThreadImpl : public content::RenderThread, |
scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; |
scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; |
+ // Used on the render thread and deleted by WebKit at shutdown. |
+ content::MediaStreamCenter* media_stream_center_; |
+ |
// Used on the renderer and IPC threads. |
scoped_refptr<DBMessageFilter> db_message_filter_; |
scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |