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

Unified Diff: content/renderer/render_thread_impl.h

Issue 9619006: Adding a skeleton MediaStreamCenter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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..34674d46cdf3367687fda505319ebd5481ce8264 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 delete by WebKit at tear-down.
piman 2012/03/07 16:24:54 typo: delete->deleted
mflodman_chromium_OOO 2012/03/07 19:28:28 Done.
+ 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_;

Powered by Google App Engine
This is Rietveld 408576698