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

Unified Diff: webkit/media/crypto/ppapi/clear_key_cdm.h

Issue 12212079: Update Cdm Wrapper and ClearKeyCdm to work with CDM interface version 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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 | « webkit/media/crypto/ppapi/cdm_wrapper.cc ('k') | webkit/media/crypto/ppapi/clear_key_cdm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/crypto/ppapi/clear_key_cdm.h
diff --git a/webkit/media/crypto/ppapi/clear_key_cdm.h b/webkit/media/crypto/ppapi/clear_key_cdm.h
index af273002c23aeb49384a860a1c41c648080e4fb3..7865b06267028056d1c6e6c9a3995223f78821b5 100644
--- a/webkit/media/crypto/ppapi/clear_key_cdm.h
+++ b/webkit/media/crypto/ppapi/clear_key_cdm.h
@@ -33,7 +33,7 @@ class FFmpegCdmAudioDecoder;
// Clear key implementation of the cdm::ContentDecryptionModule interface.
class ClearKeyCdm : public cdm::ContentDecryptionModule {
public:
- ClearKeyCdm(cdm::Allocator* allocator, cdm::Host* host);
+ explicit ClearKeyCdm(cdm::Host* host);
virtual ~ClearKeyCdm();
// ContentDecryptionModule implementation.
@@ -60,6 +60,7 @@ class ClearKeyCdm : public cdm::ContentDecryptionModule {
virtual cdm::Status DecryptAndDecodeSamples(
const cdm::InputBuffer& encrypted_buffer,
cdm::AudioFrames* audio_frames) OVERRIDE;
+ virtual void Destroy() OVERRIDE;
private:
// TODO(xhwang): After we removed DecryptorClient. We probably can also remove
@@ -141,7 +142,6 @@ class ClearKeyCdm : public cdm::ContentDecryptionModule {
// simultaneously.
base::Lock client_lock_;
- cdm::Allocator* const allocator_;
cdm::Host* host_;
std::string heartbeat_session_id_;
« no previous file with comments | « webkit/media/crypto/ppapi/cdm_wrapper.cc ('k') | webkit/media/crypto/ppapi/clear_key_cdm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698