#include "media/cdm/cdm_adapter_factory.h"
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "media/base/cdm_factory.h"
#include "media/cdm/cdm_adapter.h"
#include "media/cdm/cdm_module.h"
#include "url/origin.h"
namespace media {
CdmAdapterFactory::CdmAdapterFactory(HelperCreationCB helper_creation_cb)
: … { … }
CdmAdapterFactory::~CdmAdapterFactory() = default;
void CdmAdapterFactory::Create(
const CdmConfig& cdm_config,
const SessionMessageCB& session_message_cb,
const SessionClosedCB& session_closed_cb,
const SessionKeysChangeCB& session_keys_change_cb,
const SessionExpirationUpdateCB& session_expiration_update_cb,
CdmCreatedCB cdm_created_cb) { … }
}