Chromium Code Reviews| Index: media/base/renderer.h |
| diff --git a/media/base/renderer.h b/media/base/renderer.h |
| index 1c7afbd987128ac5c531ca8e4c5ff04d7dfe431f..b258bbf644a46b3b2aaabd9e9f8bcfa6b9d6f16c 100644 |
| --- a/media/base/renderer.h |
| +++ b/media/base/renderer.h |
| @@ -43,13 +43,18 @@ class MEDIA_EXPORT Renderer { |
| // be called from any thread. |
| // - |ended_cb|: Executed when rendering has reached the end of stream. |
| // - |error_cb|: Executed if any error was encountered after initialization. |
| - virtual void Initialize(DemuxerStreamProvider* demuxer_stream_provider, |
| - const PipelineStatusCB& init_cb, |
| - const StatisticsCB& statistics_cb, |
| - const BufferingStateCB& buffering_state_cb, |
| - const PaintCB& paint_cb, |
| - const base::Closure& ended_cb, |
| - const PipelineStatusCB& error_cb) = 0; |
| + // - |waiting_for_encryption_key_cb|: Executed whenever a stream needs a |
|
ddorwin
2015/02/19 05:33:17
dittos
jrummell
2015/02/23 22:06:32
Done.
|
| + // new key provided in order to decrypt |
| + // the stream. |
| + virtual void Initialize( |
| + DemuxerStreamProvider* demuxer_stream_provider, |
| + const PipelineStatusCB& init_cb, |
| + const StatisticsCB& statistics_cb, |
| + const BufferingStateCB& buffering_state_cb, |
| + const PaintCB& paint_cb, |
| + const base::Closure& ended_cb, |
| + const PipelineStatusCB& error_cb, |
| + const base::Closure& waiting_for_encryption_key_cb) = 0; |
| // Associates the |cdm_context| with this Renderer for decryption (and |
| // decoding) of media data, then fires |cdm_attached_cb| with the result. |