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

Unified Diff: content/renderer/render_thread_impl.h

Issue 9648007: Adding a skeleton MediaStreamCenter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't create MediaStreamCenter if WebRTC is disabled. 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
« no previous file with comments | « content/renderer/media/media_stream_center.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « content/renderer/media/media_stream_center.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698