CdmAdapter 215 media/cdm/ppapi/cdm_adapter.cc CdmAdapter::CdmAdapter(PP_Instance instance, pp::Module* module) CdmAdapter 235 media/cdm/ppapi/cdm_adapter.cc CdmAdapter::~CdmAdapter() {} CdmAdapter 237 media/cdm/ppapi/cdm_adapter.cc bool CdmAdapter::CreateCdmInstance(const std::string& key_system) { CdmAdapter 258 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::Initialize(const std::string& key_system) { CdmAdapter 269 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::CreateSession(uint32_t session_id, CdmAdapter 301 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::LoadSession(uint32_t session_id, CdmAdapter 315 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::UpdateSession(uint32_t session_id, CdmAdapter 345 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::ReleaseSession(uint32_t session_id) { CdmAdapter 369 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::Decrypt(pp::Buffer_Dev encrypted_buffer, CdmAdapter 391 media/cdm/ppapi/cdm_adapter.cc &CdmAdapter::DeliverBlock, CdmAdapter 397 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::InitializeAudioDecoder( CdmAdapter 423 media/cdm/ppapi/cdm_adapter.cc &CdmAdapter::DecoderInitializeDone, CdmAdapter 429 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::InitializeVideoDecoder( CdmAdapter 458 media/cdm/ppapi/cdm_adapter.cc &CdmAdapter::DecoderInitializeDone, CdmAdapter 464 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::DeinitializeDecoder(PP_DecryptorStreamType decoder_type, CdmAdapter 473 media/cdm/ppapi/cdm_adapter.cc &CdmAdapter::DecoderDeinitializeDone, CdmAdapter 478 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::ResetDecoder(PP_DecryptorStreamType decoder_type, CdmAdapter 484 media/cdm/ppapi/cdm_adapter.cc CallOnMain(callback_factory_.NewCallback(&CdmAdapter::DecoderResetDone, CdmAdapter 489 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::DecryptAndDecode( CdmAdapter 514 media/cdm/ppapi/cdm_adapter.cc &CdmAdapter::DeliverFrame, CdmAdapter 528 media/cdm/ppapi/cdm_adapter.cc &CdmAdapter::DeliverSamples, CdmAdapter 541 media/cdm/ppapi/cdm_adapter.cc cdm::Buffer* CdmAdapter::Allocate(uint32_t capacity) { CdmAdapter 545 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::SetTimer(int64_t delay_ms, void* context) { CdmAdapter 551 media/cdm/ppapi/cdm_adapter.cc callback_factory_.NewCallback(&CdmAdapter::TimerExpired, context), CdmAdapter 555 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::TimerExpired(int32_t result, void* context) { CdmAdapter 560 media/cdm/ppapi/cdm_adapter.cc double CdmAdapter::GetCurrentWallTimeInSeconds() { CdmAdapter 564 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::SendKeyMessage( CdmAdapter 580 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::SendKeyError(const char* session_id, CdmAdapter 589 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::GetPrivateData(int32_t* instance, CdmAdapter 595 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::OnSessionCreated(uint32_t session_id, CdmAdapter 599 media/cdm/ppapi/cdm_adapter.cc &CdmAdapter::SendSessionCreatedInternal, CdmAdapter 604 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::OnSessionMessage(uint32_t session_id, CdmAdapter 610 media/cdm/ppapi/cdm_adapter.cc &CdmAdapter::SendSessionMessageInternal, CdmAdapter 616 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::OnSessionReady(uint32_t session_id) { CdmAdapter 618 media/cdm/ppapi/cdm_adapter.cc &CdmAdapter::SendSessionReadyInternal, session_id)); CdmAdapter 621 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::OnSessionClosed(uint32_t session_id) { CdmAdapter 623 media/cdm/ppapi/cdm_adapter.cc &CdmAdapter::SendSessionClosedInternal, session_id)); CdmAdapter 626 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::OnSessionError(uint32_t session_id, CdmAdapter 630 media/cdm/ppapi/cdm_adapter.cc &CdmAdapter::SendSessionErrorInternal, CdmAdapter 636 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::SendSessionCreatedInternal(int32_t result, CdmAdapter 643 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::SendSessionMessageInternal(int32_t result, CdmAdapter 658 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::SendSessionReadyInternal(int32_t result, uint32_t session_id) { CdmAdapter 663 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::SendSessionClosedInternal(int32_t result, CdmAdapter 669 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::SendSessionErrorInternal(int32_t result, CdmAdapter 678 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::DeliverBlock(int32_t result, CdmAdapter 709 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::DecoderInitializeDone(int32_t result, CdmAdapter 719 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::DecoderDeinitializeDone(int32_t result, CdmAdapter 726 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::DecoderResetDone(int32_t result, CdmAdapter 732 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::DeliverFrame( CdmAdapter 778 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::DeliverSamples(int32_t result, CdmAdapter 812 media/cdm/ppapi/cdm_adapter.cc bool CdmAdapter::IsValidVideoFrame(const LinkedVideoFrame& video_frame) { CdmAdapter 838 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::LogToConsole(const pp::Var& value) { CdmAdapter 846 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::SendPlatformChallenge( CdmAdapter 865 media/cdm/ppapi/cdm_adapter.cc callback_factory_.NewCallback(&CdmAdapter::SendPlatformChallengeDone)); CdmAdapter 880 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::EnableOutputProtection(uint32_t desired_protection_mask) { CdmAdapter 884 media/cdm/ppapi/cdm_adapter.cc &CdmAdapter::EnableProtectionDone)); CdmAdapter 894 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::QueryOutputProtectionStatus() { CdmAdapter 903 media/cdm/ppapi/cdm_adapter.cc &CdmAdapter::QueryOutputProtectionStatusDone)); CdmAdapter 916 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::OnDeferredInitializationDone(cdm::StreamType stream_type, CdmAdapter 922 media/cdm/ppapi/cdm_adapter.cc callback_factory_.NewCallback(&CdmAdapter::DecoderInitializeDone, CdmAdapter 932 media/cdm/ppapi/cdm_adapter.cc callback_factory_.NewCallback(&CdmAdapter::DecoderInitializeDone, CdmAdapter 943 media/cdm/ppapi/cdm_adapter.cc cdm::FileIO* CdmAdapter::CreateFileIO(cdm::FileIOClient* client) { CdmAdapter 948 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::SendPlatformChallengeDone(int32_t result) { CdmAdapter 979 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::EnableProtectionDone(int32_t result) { CdmAdapter 985 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::QueryOutputProtectionStatusDone(int32_t result) { CdmAdapter 1022 media/cdm/ppapi/cdm_adapter.cc CdmAdapter* cdm_adapter = static_cast<CdmAdapter*>(user_data); CdmAdapter 1051 media/cdm/ppapi/cdm_adapter.cc return new CdmAdapter(instance, this); CdmAdapter 38 media/cdm/ppapi/cdm_adapter.h class CdmAdapter : public pp::Instance, CdmAdapter 44 media/cdm/ppapi/cdm_adapter.h CdmAdapter(PP_Instance instance, pp::Module* module); CdmAdapter 45 media/cdm/ppapi/cdm_adapter.h virtual ~CdmAdapter(); CdmAdapter 206 media/cdm/ppapi/cdm_adapter.h pp::CompletionCallbackFactory<CdmAdapter> callback_factory_; CdmAdapter 218 media/cdm/ppapi/cdm_adapter.h DISALLOW_COPY_AND_ASSIGN(CdmAdapter);