Index: media/base/pipeline.h |
diff --git a/media/base/pipeline.h b/media/base/pipeline.h |
index 6bca4778aa4b3dc33823604a2d68bf3ac74f2079..30707b3c329303bc7664f632f8741d79c9e36ae2 100644 |
--- a/media/base/pipeline.h |
+++ b/media/base/pipeline.h |
@@ -105,6 +105,8 @@ class MEDIA_EXPORT Pipeline : public DemuxerHost { |
// |duration_change_cb| optional callback that will be executed whenever the |
// presentation duration changes. |
// |add_text_track_cb| will be executed whenever a text track is added. |
+ // |waiting_for_decryption_key_cb| will be executed whenever the key needed |
+ // to decrypt the stream is not available. |
// It is an error to call this method after the pipeline has already started. |
void Start(Demuxer* demuxer, |
scoped_ptr<Renderer> renderer, |
@@ -115,7 +117,8 @@ class MEDIA_EXPORT Pipeline : public DemuxerHost { |
const BufferingStateCB& buffering_state_cb, |
const PaintCB& paint_cb, |
const base::Closure& duration_change_cb, |
- const AddTextTrackCB& add_text_track_cb); |
+ const AddTextTrackCB& add_text_track_cb, |
+ const base::Closure& waiting_for_decryption_key_cb); |
// Asynchronously stops the pipeline, executing |stop_cb| when the pipeline |
// teardown has completed. |
@@ -360,6 +363,7 @@ class MEDIA_EXPORT Pipeline : public DemuxerHost { |
PaintCB paint_cb_; |
base::Closure duration_change_cb_; |
AddTextTrackCB add_text_track_cb_; |
+ base::Closure waiting_for_decryption_key_cb_; |
// Holds the initialized demuxer. Used for seeking. Owned by client. |
Demuxer* demuxer_; |