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

Unified Diff: media/base/renderer.h

Issue 2491043003: MediaResource refactoring to support multiple streams (Closed)
Patch Set: rebase Created 3 years, 11 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: media/base/renderer.h
diff --git a/media/base/renderer.h b/media/base/renderer.h
index fe3a49a5bcec999153bb16b887a997e58e73e99f..44e353dfd46a5d447dc4185515c2852697d3b718 100644
--- a/media/base/renderer.h
+++ b/media/base/renderer.h
@@ -16,7 +16,7 @@
namespace media {
-class DemuxerStreamProvider;
+class MediaResource;
class RendererClient;
class MEDIA_EXPORT Renderer {
@@ -26,12 +26,12 @@ class MEDIA_EXPORT Renderer {
// Stops rendering and fires any pending callbacks.
virtual ~Renderer();
- // Initializes the Renderer with |demuxer_stream_provider|, executing
- // |init_cb| upon completion. |demuxer_stream_provider| must be valid for
+ // Initializes the Renderer with |media_resource|, executing
+ // |init_cb| upon completion. |media_resource| must be valid for
xhwang 2017/02/01 18:26:03 nit: please re-flow the comment
servolk 2017/02/01 22:29:17 Done.
// the lifetime of the Renderer object. |init_cb| must only be run after this
// method has returned. Firing |init_cb| may result in the immediate
// destruction of the caller, so it must be run only prior to returning.
- virtual void Initialize(DemuxerStreamProvider* demuxer_stream_provider,
+ virtual void Initialize(MediaResource* media_resource,
RendererClient* client,
const PipelineStatusCB& init_cb) = 0;

Powered by Google App Engine
This is Rietveld 408576698