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

Unified Diff: media/filters/decrypting_audio_decoder.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/decrypting_audio_decoder.h
diff --git a/media/filters/decrypting_audio_decoder.h b/media/filters/decrypting_audio_decoder.h
index 67da6c0c7be6d0d6b9fa051d7ec4ed70c053ad59..30b0a63926d3b31a08e8e42f5af882b59084871c 100644
--- a/media/filters/decrypting_audio_decoder.h
+++ b/media/filters/decrypting_audio_decoder.h
@@ -32,7 +32,8 @@ class MEDIA_EXPORT DecryptingAudioDecoder : public AudioDecoder {
public:
DecryptingAudioDecoder(
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
- const SetDecryptorReadyCB& set_decryptor_ready_cb);
+ const SetDecryptorReadyCB& set_decryptor_ready_cb,
+ const base::Closure& waiting_for_decryption_key_cb);
~DecryptingAudioDecoder() override;
// AudioDecoder implementation.
@@ -96,6 +97,7 @@ class MEDIA_EXPORT DecryptingAudioDecoder : public AudioDecoder {
OutputCB output_cb_;
DecodeCB decode_cb_;
base::Closure reset_cb_;
+ base::Closure waiting_for_decryption_key_cb_;
// The current decoder configuration.
AudioDecoderConfig config_;

Powered by Google App Engine
This is Rietveld 408576698