Index: media/crypto/aes_decryptor.cc |
diff --git a/media/crypto/aes_decryptor.cc b/media/crypto/aes_decryptor.cc |
index 0fdfa2d2ea56dcae2c478d5574e38b05f40d02aa..5592126c63944bda3b326c35159467069a50a487 100644 |
--- a/media/crypto/aes_decryptor.cc |
+++ b/media/crypto/aes_decryptor.cc |
@@ -14,6 +14,8 @@ |
#include "media/base/decoder_buffer.h" |
#include "media/base/decrypt_config.h" |
#include "media/base/decryptor_client.h" |
+#include "media/base/video_decoder_config.h" |
+#include "media/base/video_frame.h" |
namespace media { |
@@ -232,6 +234,26 @@ void AesDecryptor::Decrypt(const scoped_refptr<DecoderBuffer>& encrypted, |
void AesDecryptor::Stop() { |
} |
+void AesDecryptor::InitializeVideoDecoder(const VideoDecoderConfig& config, |
+ const InitializeCB& init_cb) { |
+ init_cb.Run(false); |
ddorwin
2012/09/21 00:36:08
Why not NOTREACHED();?
If this is used to determin
xhwang
2012/09/25 23:52:32
Done.
|
+} |
+ |
+void AesDecryptor::DecryptAndDecodeVideo( |
+ const scoped_refptr<DecoderBuffer>& encrypted, |
+ const VideoDecodeCB& video_decode_cb) { |
+ NOTREACHED(); |
+ video_decode_cb.Run(kError, NULL); |
+} |
+ |
+void AesDecryptor::ResetVideoDecoder() { |
+ NOTREACHED(); |
+} |
+ |
+void AesDecryptor::StopVideoDecoder() { |
+ NOTREACHED(); |
+} |
+ |
void AesDecryptor::SetKey(const std::string& key_id, |
scoped_ptr<DecryptionKey> decryption_key) { |
base::AutoLock auto_lock(key_map_lock_); |