#include "media/base/cdm_callback_promise.h"
#include "base/check.h"
#include "base/functional/callback_helpers.h"
namespace media {
template <typename... T>
CdmCallbackPromise<T...>::CdmCallbackPromise(
base::OnceCallback<void(const T&...)> resolve_cb,
PromiseRejectedCB reject_cb)
: … { … }
template <typename... T>
CdmCallbackPromise<T...>::~CdmCallbackPromise() { … }
template <typename... T>
void CdmCallbackPromise<T...>::resolve(const T&... result) { … }
template <typename... T>
void CdmCallbackPromise<T...>::reject(CdmPromise::Exception exception_code,
uint32_t system_code,
const std::string& error_message) { … }
template class MEDIA_EXPORT CdmCallbackPromise<>;
template class MEDIA_EXPORT CdmCallbackPromise<std::string>;
}