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

Side by Side Diff: chromecast/media/cma/pipeline/av_pipeline_client.h

Issue 741863002: Chromecast: adds a media pipeline feeding data to CMA device backends. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cma-cdm
Patch Set: address nits, merge Pause/Flush Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMECAST_MEDIA_CMA_PIPELINE_AV_PIPELINE_CLIENT_H_
6 #define CHROMECAST_MEDIA_CMA_PIPELINE_AV_PIPELINE_CLIENT_H_
7
8 #include "base/callback.h"
9 #include "base/time/time.h"
10 #include "media/base/pipeline_status.h"
11
12 namespace chromecast {
13 namespace media {
14
15 struct AvPipelineClient {
16 typedef base::Callback<void(
17 base::TimeDelta, base::TimeDelta, base::TimeTicks)> TimeUpdateCB;
18
19 AvPipelineClient();
20 ~AvPipelineClient();
21
22 // End of stream notification.
23 base::Closure eos_cb;
24
25 // Asynchronous playback error notification.
26 ::media::PipelineStatusCB playback_error_cb;
27
28 // Callback used to report the playback statistics.
29 ::media::StatisticsCB statistics_cb;
30 };
31
32 } // namespace media
33 } // namespace chromecast
34
35 #endif // CHROMECAST_MEDIA_CMA_PIPELINE_AV_PIPELINE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698