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

Unified Diff: media/crypto/aes_decryptor.cc

Issue 17309003: Removed unused NeedKey callback from Decryptors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase only Created 7 years, 6 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
« no previous file with comments | « media/crypto/aes_decryptor.h ('k') | media/crypto/aes_decryptor_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/crypto/aes_decryptor.cc
diff --git a/media/crypto/aes_decryptor.cc b/media/crypto/aes_decryptor.cc
index 8136cadfb82751c1685d7cd6518a6552e19eb11c..84cae9101acf96a9c29a3869d922da6d58844c67 100644
--- a/media/crypto/aes_decryptor.cc
+++ b/media/crypto/aes_decryptor.cc
@@ -126,12 +126,10 @@ static scoped_refptr<DecoderBuffer> DecryptData(const DecoderBuffer& input,
AesDecryptor::AesDecryptor(const KeyAddedCB& key_added_cb,
const KeyErrorCB& key_error_cb,
- const KeyMessageCB& key_message_cb,
- const NeedKeyCB& need_key_cb)
+ const KeyMessageCB& key_message_cb)
: key_added_cb_(key_added_cb),
key_error_cb_(key_error_cb),
- key_message_cb_(key_message_cb),
- need_key_cb_(need_key_cb) {
+ key_message_cb_(key_message_cb) {
}
AesDecryptor::~AesDecryptor() {
« no previous file with comments | « media/crypto/aes_decryptor.h ('k') | media/crypto/aes_decryptor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698