#include "media/cdm/mock_helpers.h"
namespace media {
MockCdmAuxiliaryHelper::MockCdmAuxiliaryHelper(
std::unique_ptr<CdmAllocator> allocator)
: … { … }
MockCdmAuxiliaryHelper::~MockCdmAuxiliaryHelper() = default;
void MockCdmAuxiliaryHelper::SetFileReadCB(FileReadCB file_read_cb) { … }
cdm::Buffer* MockCdmAuxiliaryHelper::CreateCdmBuffer(size_t capacity) { … }
std::unique_ptr<VideoFrameImpl> MockCdmAuxiliaryHelper::CreateCdmVideoFrame() { … }
void MockCdmAuxiliaryHelper::QueryStatus(QueryStatusCB callback) { … }
void MockCdmAuxiliaryHelper::EnableProtection(uint32_t desired_protection_mask,
EnableProtectionCB callback) { … }
void MockCdmAuxiliaryHelper::ChallengePlatform(const std::string& service_id,
const std::string& challenge,
ChallengePlatformCB callback) { … }
void MockCdmAuxiliaryHelper::GetStorageId(uint32_t version,
StorageIdCB callback) { … }
}