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

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

Issue 1306843003: CmaMediaPipelineClient to watch media pipeline status (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Doc Created 5 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMECAST_MEDIA_CMA_PIPELINE_MEDIA_PIPELINE_CLIENT_H_ 5 #ifndef CHROMECAST_MEDIA_CMA_PIPELINE_MEDIA_PIPELINE_CLIENT_H_
6 #define CHROMECAST_MEDIA_CMA_PIPELINE_MEDIA_PIPELINE_CLIENT_H_ 6 #define CHROMECAST_MEDIA_CMA_PIPELINE_MEDIA_PIPELINE_CLIENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "media/base/buffering_state.h" 10 #include "media/base/buffering_state.h"
(...skipping 11 matching lines...) Expand all
22 22
23 // Callback used to report a playback error as a ::media::PipelineStatus. 23 // Callback used to report a playback error as a ::media::PipelineStatus.
24 ::media::PipelineStatusCB error_cb; 24 ::media::PipelineStatusCB error_cb;
25 25
26 // Callback used to report the latest playback time, 26 // Callback used to report the latest playback time,
27 // as well as the maximum time available for rendering. 27 // as well as the maximum time available for rendering.
28 TimeUpdateCB time_update_cb; 28 TimeUpdateCB time_update_cb;
29 29
30 // Callback used to report the buffering status. 30 // Callback used to report the buffering status.
31 ::media::BufferingStateCB buffering_state_cb; 31 ::media::BufferingStateCB buffering_state_cb;
32
33 // Callback used to report the creation and destruction of
34 // MediaPipelineBackend
35 base::Closure pipeline_backend_created_cb;
36 base::Closure pipeline_backend_destroyed_cb;
32 }; 37 };
33 38
34 } // namespace media 39 } // namespace media
35 } // namespace chromecast 40 } // namespace chromecast
36 41
37 #endif // CHROMECAST_MEDIA_CMA_PIPELINE_MEDIA_PIPELINE_CLIENT_H_ 42 #endif // CHROMECAST_MEDIA_CMA_PIPELINE_MEDIA_PIPELINE_CLIENT_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/filters/cma_renderer.cc ('k') | chromecast/media/cma/pipeline/media_pipeline_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698