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

Unified Diff: media/mojo/clients/mojo_renderer.h

Issue 2230583002: Add MediaPlayerRenderer/MediaPlayerRendererClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added MEDIA_EXPORT. Created 4 years, 4 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 | « media/blink/webmediaplayer_util.cc ('k') | media/mojo/clients/mojo_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_renderer.h
diff --git a/media/mojo/clients/mojo_renderer.h b/media/mojo/clients/mojo_renderer.h
index 9bc09f0e69e17eaf0352d6e859b996d44bfa7638..77d985bbbeed8a14dd820ddea0d79d562f1a79b5 100644
--- a/media/mojo/clients/mojo_renderer.h
+++ b/media/mojo/clients/mojo_renderer.h
@@ -73,6 +73,14 @@ class MojoRenderer : public Renderer, public mojom::RendererClient {
// called asynchronously.
void BindRemoteRendererIfNeeded();
+ // Initialize the remote renderer when |demuxer_stream_provider| is of type
+ // DemuxerSteamProvider::Type::STREAM.
+ void InitializeRendererFromStreams(media::RendererClient* client);
+
+ // Initialize the remote renderer when |demuxer_stream_provider| is of type
+ // DemuxerSteamProvider::Type::URL.
+ void InitializeRendererFromUrl(media::RendererClient* client);
+
// Callback for connection error on |remote_renderer_|.
void OnConnectionError();
« no previous file with comments | « media/blink/webmediaplayer_util.cc ('k') | media/mojo/clients/mojo_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698