Index: media/cdm/ppapi/clear_key_cdm.cc |
diff --git a/media/cdm/ppapi/clear_key_cdm.cc b/media/cdm/ppapi/clear_key_cdm.cc |
index d73250010491a0b629d6b9f85aa5b5052af57fb7..071b2b35e31b1a447ff63c0b6e9c9f2fa900eb07 100644 |
--- a/media/cdm/ppapi/clear_key_cdm.cc |
+++ b/media/cdm/ppapi/clear_key_cdm.cc |
@@ -136,11 +136,11 @@ void* CreateCdmInstance( |
return NULL; |
} |
- if (cdm_interface_version != cdm::ContentDecryptionModule_1::kVersion) |
+ if (cdm_interface_version != cdm::ContentDecryptionModule_2::kVersion) |
return NULL; |
cdm::Host* host = static_cast<cdm::Host*>( |
- get_cdm_host_func(cdm::ContentDecryptionModule_1::kVersion, user_data)); |
+ get_cdm_host_func(cdm::ContentDecryptionModule_2::kVersion, user_data)); |
if (!host) |
return NULL; |
@@ -417,7 +417,7 @@ cdm::Status ClearKeyCdm::DecryptAndDecodeFrame( |
cdm::Status ClearKeyCdm::DecryptAndDecodeSamples( |
const cdm::InputBuffer& encrypted_buffer, |
- cdm::AudioFrames_1* audio_frames) { |
+ cdm::AudioFrames* audio_frames) { |
DVLOG(1) << "DecryptAndDecodeSamples()"; |
scoped_refptr<media::DecoderBuffer> buffer; |
@@ -500,6 +500,16 @@ cdm::Status ClearKeyCdm::DecryptToMediaDecoderBuffer( |
return cdm::kSuccess; |
} |
+void ClearKeyCdm::OnPlatformChallengeResponse( |
+ const cdm::PlatformChallengeResponse& response) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+void ClearKeyCdm::OnQueryOutputProtectionStatus( |
+ uint32_t link_mask, uint32_t output_protection_mask) { |
+ NOTIMPLEMENTED(); |
+}; |
+ |
#if defined(CLEAR_KEY_CDM_USE_FAKE_AUDIO_DECODER) |
int64 ClearKeyCdm::CurrentTimeStampInMicroseconds() const { |
return output_timestamp_base_in_microseconds_ + |