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

Unified Diff: chromecast/media/cma/filters/cma_renderer.h

Issue 869283003: Chromecast buildfix: update CmaRenderer for Initialize API change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed error handling during initialization Created 5 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
« no previous file with comments | « no previous file | chromecast/media/cma/filters/cma_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cma/filters/cma_renderer.h
diff --git a/chromecast/media/cma/filters/cma_renderer.h b/chromecast/media/cma/filters/cma_renderer.h
index d1c83ac09ad4ea9ed8cea5d0f399a3444b4c32c8..33fc2b1f1e4e437353b261ddcbbe87e89923d75c 100644
--- a/chromecast/media/cma/filters/cma_renderer.h
+++ b/chromecast/media/cma/filters/cma_renderer.h
@@ -40,7 +40,7 @@ class CmaRenderer : public ::media::Renderer {
// ::media::Renderer implementation:
void Initialize(
::media::DemuxerStreamProvider* demuxer_stream_provider,
- const base::Closure& init_cb,
+ const ::media::PipelineStatusCB& init_cb,
const ::media::StatisticsCB& statistics_cb,
const ::media::BufferingStateCB& buffering_state_cb,
const PaintCB& paint_cb,
@@ -86,8 +86,6 @@ class CmaRenderer : public ::media::Renderer {
void OnFlushDone(::media::PipelineStatus status);
void OnError(::media::PipelineStatus status);
- void FireAllPendingCallbacks();
-
// Begin a state transition.
// Return true if delayed because of a pending state transition.
void BeginStateTransition();
@@ -104,7 +102,7 @@ class CmaRenderer : public ::media::Renderer {
// Set of callbacks.
PaintCB paint_cb_;
- base::Closure init_cb_;
+ ::media::PipelineStatusCB init_cb_;
::media::StatisticsCB statistics_cb_;
base::Closure ended_cb_;
::media::PipelineStatusCB error_cb_;
« no previous file with comments | « no previous file | chromecast/media/cma/filters/cma_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698