#include "media/base/cdm_context.h"
#include "build/build_config.h"
#include "media/base/callback_registry.h"
namespace media {
CdmContext::CdmContext() = default;
CdmContext::~CdmContext() = default;
std::unique_ptr<CallbackRegistration> CdmContext::RegisterEventCB(
EventCB ) { … }
Decryptor* CdmContext::GetDecryptor() { … }
std::optional<base::UnguessableToken> CdmContext::GetCdmId() const { … }
std::string CdmContext::CdmIdToString(const base::UnguessableToken* cdm_id) { … }
#if BUILDFLAG(IS_WIN)
bool CdmContext::RequiresMediaFoundationRenderer() {
return false;
}
scoped_refptr<MediaFoundationCdmProxy>
CdmContext::GetMediaFoundationCdmProxy() {
return nullptr;
}
#endif
#if BUILDFLAG(IS_ANDROID)
MediaCryptoContext* CdmContext::GetMediaCryptoContext() {
return nullptr;
}
#endif
#if BUILDFLAG(IS_FUCHSIA)
FuchsiaCdmContext* CdmContext::GetFuchsiaCdmContext() {
return nullptr;
}
#endif
#if BUILDFLAG(IS_CHROMEOS)
chromeos::ChromeOsCdmContext* CdmContext::GetChromeOsCdmContext() {
return nullptr;
}
#endif
}