| OLD | NEW |
| 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 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 // Callback used to report a playback error as a ::media::PipelineStatus. | 24 // Callback used to report a playback error as a ::media::PipelineStatus. |
| 25 ::media::PipelineStatusCB error_cb; | 25 ::media::PipelineStatusCB error_cb; |
| 26 | 26 |
| 27 // Callback used to report the latest playback time, | 27 // Callback used to report the latest playback time, |
| 28 // as well as the maximum time available for rendering. | 28 // as well as the maximum time available for rendering. |
| 29 TimeUpdateCB time_update_cb; | 29 TimeUpdateCB time_update_cb; |
| 30 | 30 |
| 31 // Callback used to report the buffering status. | 31 // Callback used to report the buffering status. |
| 32 ::media::BufferingStateCB buffering_state_cb; | 32 ::media::BufferingStateCB buffering_state_cb; |
| 33 | |
| 34 // Callback used to report the creation and destruction of | |
| 35 // MediaPipelineBackend | |
| 36 base::Closure pipeline_backend_created_cb; | |
| 37 base::Closure pipeline_backend_destroyed_cb; | |
| 38 }; | 33 }; |
| 39 | 34 |
| 40 } // namespace media | 35 } // namespace media |
| 41 } // namespace chromecast | 36 } // namespace chromecast |
| 42 | 37 |
| 43 #endif // CHROMECAST_MEDIA_CMA_PIPELINE_MEDIA_PIPELINE_CLIENT_H_ | 38 #endif // CHROMECAST_MEDIA_CMA_PIPELINE_MEDIA_PIPELINE_CLIENT_H_ |
| OLD | NEW |