Chromium Code Reviews| Index: media/base/video_renderer.h |
| diff --git a/media/base/video_renderer.h b/media/base/video_renderer.h |
| index 1e4433323e6c0bcf3fcafe0b8d365f4ad111b040..3419ca63fa557f125cbe2b79558252d00f92adfd 100644 |
| --- a/media/base/video_renderer.h |
| +++ b/media/base/video_renderer.h |
| @@ -53,15 +53,20 @@ class MEDIA_EXPORT VideoRenderer { |
| // |error_cb| is executed if an error was encountered after initialization. |
| // |
| // |get_time_cb| is used to query the current media playback time. |
| - virtual void Initialize(DemuxerStream* stream, |
| - const PipelineStatusCB& init_cb, |
| - const SetDecryptorReadyCB& set_decryptor_ready_cb, |
| - const StatisticsCB& statistics_cb, |
| - const BufferingStateCB& buffering_state_cb, |
| - const PaintCB& paint_cb, |
| - const base::Closure& ended_cb, |
| - const PipelineStatusCB& error_cb, |
| - const TimeDeltaCB& get_time_cb) = 0; |
| + // |
| + // |waiting_for_encryption_key_cb| is executed whenever the stream needs |
|
ddorwin
2015/02/19 05:33:17
dittos
jrummell
2015/02/23 22:06:32
Done.
|
| + // a new key provided in order to decrypt the data. |
| + virtual void Initialize( |
| + DemuxerStream* stream, |
| + const PipelineStatusCB& init_cb, |
| + const SetDecryptorReadyCB& set_decryptor_ready_cb, |
| + const StatisticsCB& statistics_cb, |
| + const BufferingStateCB& buffering_state_cb, |
| + const PaintCB& paint_cb, |
| + const base::Closure& ended_cb, |
| + const PipelineStatusCB& error_cb, |
| + const TimeDeltaCB& get_time_cb, |
| + const base::Closure& waiting_for_encryption_key_cb) = 0; |
| // Discards any video data and stops reading from |stream|, executing |
| // |callback| when completed. |