// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_MOJO_SERVICES_MOJO_CDM_PROMISE_H_ #define MEDIA_MOJO_SERVICES_MOJO_CDM_PROMISE_H_ #include <stdint.h> #include "base/functional/callback.h" #include "media/base/cdm_promise.h" namespace media { // media::CdmPromiseTemplate implementations backed by base::Callbacks. // TODO(xhwang): We need a new type F to solve the issue where parameters in the // callback can be passed in by value or as const-refs. Find a better solution // to handle this. template <typename F, typename... T> class MojoCdmPromise final : public CdmPromiseTemplate<T...> { … }; } // namespace media #endif // MEDIA_MOJO_SERVICES_MOJO_CDM_PROMISE_H_