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

Unified Diff: media/crypto/aes_decryptor.cc

Issue 11226019: Encrypted Media: Replace DecryptorClient with key event callbacks. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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/crypto/aes_decryptor.cc
diff --git a/media/crypto/aes_decryptor.cc b/media/crypto/aes_decryptor.cc
index b971d4c4a20489fbb4edd796f602121bd207466c..842caa872b12fd12d88630399f3f01dbfb0018d6 100644
--- a/media/crypto/aes_decryptor.cc
+++ b/media/crypto/aes_decryptor.cc
@@ -239,14 +239,14 @@ void AesDecryptor::CancelDecrypt(StreamType stream_type) {
void AesDecryptor::InitializeAudioDecoder(scoped_ptr<AudioDecoderConfig> config,
const DecoderInitCB& init_cb,
- const KeyAddedCB& key_added_cb) {
+ const OnKeyAddedCB& key_added_cb) {
Ami GONE FROM CHROMIUM 2012/10/23 06:52:22 I wish you hadn't done all this renaming in a prot
xhwang 2012/10/23 07:32:13 Sorry for the noise. I realized that I need to do
// AesDecryptor does not support audio decoding.
init_cb.Run(false);
}
void AesDecryptor::InitializeVideoDecoder(scoped_ptr<VideoDecoderConfig> config,
const DecoderInitCB& init_cb,
- const KeyAddedCB& key_added_cb) {
+ const OnKeyAddedCB& key_added_cb) {
// AesDecryptor does not support video decoding.
init_cb.Run(false);
}

Powered by Google App Engine
This is Rietveld 408576698