| Index: media/base/audio_renderer.h
|
| diff --git a/media/base/audio_renderer.h b/media/base/audio_renderer.h
|
| index 7d0e3d761fad8b5aacddcc566629dc6bcc3fee30..586936a1e81bc4e5f94da23ffc12bd2f6904e514 100644
|
| --- a/media/base/audio_renderer.h
|
| +++ b/media/base/audio_renderer.h
|
| @@ -39,13 +39,18 @@ class MEDIA_EXPORT AudioRenderer {
|
| // |ended_cb| is executed when audio rendering has reached the end of stream.
|
| //
|
| // |error_cb| is executed if an error was encountered after initialization.
|
| - 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 base::Closure& ended_cb,
|
| - const PipelineStatusCB& error_cb) = 0;
|
| + //
|
| + // |waiting_for_decryption_key_cb| is called 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 base::Closure& ended_cb,
|
| + const PipelineStatusCB& error_cb,
|
| + const base::Closure& waiting_for_decryption_key_cb) = 0;
|
|
|
| // Returns the TimeSource associated with audio rendering.
|
| virtual TimeSource* GetTimeSource() = 0;
|
|
|