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

Unified Diff: chromecast/media/cma/pipeline/av_pipeline_client.h

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 2 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: chromecast/media/cma/pipeline/av_pipeline_client.h
diff --git a/chromecast/media/cma/pipeline/av_pipeline_client.h b/chromecast/media/cma/pipeline/av_pipeline_client.h
index 692871603d792fa4b2f5c9ca8874e68b156c0ef8..3bec6901d822df8ad7de3e24ad98af2c86d0e0e2 100644
--- a/chromecast/media/cma/pipeline/av_pipeline_client.h
+++ b/chromecast/media/cma/pipeline/av_pipeline_client.h
@@ -12,12 +12,29 @@
namespace chromecast {
namespace media {
-struct AvPipelineClient {
+struct RendererAvPipelineClient {
typedef base::Callback<void(
base::TimeDelta, base::TimeDelta, base::TimeTicks)> TimeUpdateCB;
- AvPipelineClient();
- ~AvPipelineClient();
+ RendererAvPipelineClient();
+ ~RendererAvPipelineClient();
+
+ // End of stream notification.
+ base::Closure eos_cb;
+
+ // Asynchronous playback error notification.
+ ::media::PipelineStatusCB playback_error_cb;
+
+ // Callback used to report the playback statistics.
+ ::media::StatisticsCB statistics_cb;
+};
+
+struct BrowserAvPipelineClient {
+ typedef base::Callback<
+ void(base::TimeDelta, base::TimeDelta, base::TimeTicks)> TimeUpdateCB;
+
+ BrowserAvPipelineClient();
+ ~BrowserAvPipelineClient();
// End of stream notification.
base::Closure eos_cb;

Powered by Google App Engine
This is Rietveld 408576698