Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1379)

Unified Diff: media/mojo/services/mojo_cdm_promise.h

Issue 2080513002: Deletes mojo::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/mojo/clients/mojo_demuxer_stream_impl.h ('k') | media/mojo/services/mojo_cdm_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_cdm_promise.h
diff --git a/media/mojo/services/mojo_cdm_promise.h b/media/mojo/services/mojo_cdm_promise.h
index c380863adcffccb47b09c4c8b69ac13aa8ae5a58..0d82b2b9cea573ca22feca82d374e9fecef5b7f2 100644
--- a/media/mojo/services/mojo_cdm_promise.h
+++ b/media/mojo/services/mojo_cdm_promise.h
@@ -7,19 +7,19 @@
#include <stdint.h>
+#include "base/callback.h"
#include "base/macros.h"
#include "media/base/cdm_promise.h"
#include "media/mojo/common/mojo_type_trait.h"
#include "media/mojo/interfaces/content_decryption_module.mojom.h"
-#include "mojo/public/cpp/bindings/callback.h"
namespace media {
-// media::CdmPromiseTemplate implementations backed by mojo::Callbacks.
+// media::CdmPromiseTemplate implementations backed by base::Callbacks.
template <typename... T>
class MojoCdmPromise : public CdmPromiseTemplate<T...> {
public:
- typedef mojo::Callback<void(mojom::CdmPromiseResultPtr,
+ typedef base::Callback<void(mojom::CdmPromiseResultPtr,
typename MojoTypeTrait<T>::MojoType...)>
CallbackType;
« no previous file with comments | « media/mojo/clients/mojo_demuxer_stream_impl.h ('k') | media/mojo/services/mojo_cdm_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698