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

Unified Diff: media/base/cdm_callback_promise.h

Issue 2444683002: Move MediaKeys::Exception to CdmPromise::Exception (Closed)
Patch Set: fix for media_remoting_unittests Created 4 years, 2 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
Index: media/base/cdm_callback_promise.h
diff --git a/media/base/cdm_callback_promise.h b/media/base/cdm_callback_promise.h
index 3ddc34043fcbe95cc0305b8f5771215460b831e7..834b943b228f736cdad01a170c6f636f4bcf3d1f 100644
--- a/media/base/cdm_callback_promise.h
+++ b/media/base/cdm_callback_promise.h
@@ -17,7 +17,7 @@
namespace media {
-typedef base::Callback<void(MediaKeys::Exception exception_code,
+typedef base::Callback<void(CdmPromise::Exception exception_code,
uint32_t system_code,
const std::string& error_message)>
PromiseRejectedCB;
@@ -31,7 +31,7 @@ class MEDIA_EXPORT CdmCallbackPromise : public CdmPromiseTemplate<T...> {
// CdmPromiseTemplate<T> implementation.
virtual void resolve(const T&... result) override;
- virtual void reject(MediaKeys::Exception exception_code,
+ virtual void reject(CdmPromise::Exception exception_code,
uint32_t system_code,
const std::string& error_message) override;

Powered by Google App Engine
This is Rietveld 408576698