Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: media/filters/decoder_stream.h

Issue 935243002: Decryptors can report kNoKey to WebMediaPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android changes Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/filters/decoder_stream.h
diff --git a/media/filters/decoder_stream.h b/media/filters/decoder_stream.h
index b8a0d049294f8524ef7819d6c1eefbc79fdd4d59..3c0e23ef5fb9a475de2cf38987041922fad4924b 100644
--- a/media/filters/decoder_stream.h
+++ b/media/filters/decoder_stream.h
@@ -61,7 +61,8 @@ class MEDIA_EXPORT DecoderStream {
void Initialize(DemuxerStream* stream,
const InitCB& init_cb,
const SetDecryptorReadyCB& set_decryptor_ready_cb,
- const StatisticsCB& statistics_cb);
+ const StatisticsCB& statistics_cb,
+ const base::Closure& waiting_for_decryption_key_cb);
// Reads a decoded Output and returns it via the |read_cb|. Note that
// |read_cb| is always called asynchronously. This method should only be
@@ -170,6 +171,7 @@ class MEDIA_EXPORT DecoderStream {
StatisticsCB statistics_cb_;
InitCB init_cb_;
+ base::Closure waiting_for_decryption_key_cb_;
ReadCB read_cb_;
base::Closure reset_cb_;

Powered by Google App Engine
This is Rietveld 408576698