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

Unified Diff: media/cdm/aes_decryptor.h

Issue 1407933010: media: Make MediaKeys ref-counted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 5 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/cdm/aes_decryptor.h
diff --git a/media/cdm/aes_decryptor.h b/media/cdm/aes_decryptor.h
index e2540265af53f338b01d654a2ee3c872f4265789..2b5a49ee56998fa716350a3bc34a20101675ca51 100644
--- a/media/cdm/aes_decryptor.h
+++ b/media/cdm/aes_decryptor.h
@@ -37,7 +37,6 @@ class MEDIA_EXPORT AesDecryptor : public MediaKeys,
const SessionMessageCB& session_message_cb,
const SessionClosedCB& session_closed_cb,
const SessionKeysChangeCB& session_keys_change_cb);
- ~AesDecryptor() override;
// MediaKeys implementation.
void SetServerCertificate(const std::vector<uint8_t>& certificate,
@@ -116,6 +115,8 @@ class MEDIA_EXPORT AesDecryptor : public MediaKeys,
scoped_ptr<SessionIdDecryptionKeyMap>>
KeyIdToSessionKeysMap;
+ ~AesDecryptor() override;
+
// Creates a DecryptionKey using |key_string| and associates it with |key_id|.
// Returns true if successful.
bool AddDecryptionKey(const std::string& session_id,

Powered by Google App Engine
This is Rietveld 408576698