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

Unified Diff: media/base/renderer.h

Issue 2668393002: Rename DemuxerStreamProvider into MediaResource (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..7b460d932781838edb07a6e087e3e7ce6e545248 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
- // 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,
+ // Initializes the Renderer with |media_resource|, executing |init_cb| upon
+ // completion. |media_resource| must be valid for 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(MediaResource* media_resource,
RendererClient* client,
const PipelineStatusCB& init_cb) = 0;

Powered by Google App Engine
This is Rietveld 408576698