Lines Matching defs:CdmPromise
18 static const CdmPromise::ResolveParameterType kType = CdmPromise::VOID_TYPE;
23 static const CdmPromise::ResolveParameterType kType = CdmPromise::STRING_TYPE;
28 static const CdmPromise::ResolveParameterType kType =
29 CdmPromise::KEY_IDS_VECTOR_TYPE;
32 CdmPromise::CdmPromise(ResolveParameterType parameter_type)
36 CdmPromise::CdmPromise(ResolveParameterType parameter_type,
44 CdmPromise::CdmPromise(ResolveParameterType parameter_type,
55 CdmPromise::~CdmPromise() {
59 static CdmPromise::ResultCodeForUMA ConvertExceptionToUMAResult(
63 return CdmPromise::NOT_SUPPORTED_ERROR;
65 return CdmPromise::INVALID_STATE_ERROR;
67 return CdmPromise::INVALID_ACCESS_ERROR;
69 return CdmPromise::QUOTA_EXCEEDED_ERROR;
71 return CdmPromise::UNKNOWN_ERROR;
73 return CdmPromise::CLIENT_ERROR;
75 return CdmPromise::OUTPUT_ERROR;
78 return CdmPromise::UNKNOWN_ERROR;
81 void CdmPromise::reject(MediaKeys::Exception exception_code,
88 void CdmPromise::ReportResultToUMA(ResultCodeForUMA result) {
105 : CdmPromise(CdmPromiseTraits<T>::kType, reject_cb),
115 : CdmPromise(CdmPromiseTraits<T>::kType, reject_cb, uma_name),
122 : CdmPromise(CdmPromiseTraits<T>::kType) {
133 : CdmPromise(CdmPromiseTraits<void>::kType, reject_cb),
141 : CdmPromise(CdmPromiseTraits<void>::kType, reject_cb, uma_name),
148 : CdmPromise(CdmPromiseTraits<void>::kType) {