#include "third_party/blink/renderer/platform/media/cdm_result_promise_helper.h"
#include "base/metrics/histogram_functions.h"
#include "base/notreached.h"
namespace blink {
CdmResultForUMA ConvertCdmExceptionToResultForUMA(
media::CdmPromise::Exception exception_code) { … }
WebContentDecryptionModuleException ConvertCdmException(
media::CdmPromise::Exception exception_code) { … }
WebEncryptedMediaKeyInformation::KeyStatus ConvertCdmKeyStatus(
media::CdmKeyInformation::KeyStatus key_status) { … }
void ReportCdmResultUMA(const std::string& uma_name,
uint32_t system_code,
CdmResultForUMA result) { … }
}