| Index: media/base/video_renderer.h
|
| diff --git a/media/base/video_renderer.h b/media/base/video_renderer.h
|
| index 1e4433323e6c0bcf3fcafe0b8d365f4ad111b040..7a764b37c5c3b283ccfc43b27392cdbfe4e8338a 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_decryption_key_cb| is executed whenever the key needed to
|
| + // decrypt the stream is not available.
|
| + 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_decryption_key_cb) = 0;
|
|
|
| // Discards any video data and stops reading from |stream|, executing
|
| // |callback| when completed.
|
|
|