summaryrefslogtreecommitdiffstats
path: root/media/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'media/crypto')
-rw-r--r--media/crypto/aes_decryptor.cc3
-rw-r--r--media/crypto/aes_decryptor.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/media/crypto/aes_decryptor.cc b/media/crypto/aes_decryptor.cc
index 5e41ea7..b4691a5 100644
--- a/media/crypto/aes_decryptor.cc
+++ b/media/crypto/aes_decryptor.cc
@@ -235,7 +235,8 @@ void AesDecryptor::CancelDecrypt() {
}
void AesDecryptor::InitializeVideoDecoder(const VideoDecoderConfig& config,
- const DecoderInitCB& init_cb) {
+ const DecoderInitCB& init_cb,
+ const KeyAddedCB& key_added_cb) {
// AesDecryptor does not support video decoding. Always return false here.
init_cb.Run(false);
}
diff --git a/media/crypto/aes_decryptor.h b/media/crypto/aes_decryptor.h
index 2df8613..b239570 100644
--- a/media/crypto/aes_decryptor.h
+++ b/media/crypto/aes_decryptor.h
@@ -52,7 +52,8 @@ class MEDIA_EXPORT AesDecryptor : public Decryptor {
const DecryptCB& decrypt_cb) OVERRIDE;
virtual void CancelDecrypt() OVERRIDE;
virtual void InitializeVideoDecoder(const VideoDecoderConfig& config,
- const DecoderInitCB& init_cb) OVERRIDE;
+ const DecoderInitCB& init_cb,
+ const KeyAddedCB& key_added_cb) OVERRIDE;
virtual void DecryptAndDecodeVideo(
const scoped_refptr<DecoderBuffer>& encrypted,
const VideoDecodeCB& video_decode_cb) OVERRIDE;