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

Unified Diff: media/blink/new_session_cdm_result_promise.h

Issue 2444683002: Move MediaKeys::Exception to CdmPromise::Exception (Closed)
Patch Set: include "media/base/media_keys.h" 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
« no previous file with comments | « media/blink/cdm_result_promise_helper.cc ('k') | media/blink/new_session_cdm_result_promise.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/new_session_cdm_result_promise.h
diff --git a/media/blink/new_session_cdm_result_promise.h b/media/blink/new_session_cdm_result_promise.h
index a63e1fc13f3f975c0997d884a45522f992460edd..7f40422e5c34a418f67ee6eded6f4cc667b83baf 100644
--- a/media/blink/new_session_cdm_result_promise.h
+++ b/media/blink/new_session_cdm_result_promise.h
@@ -9,9 +9,9 @@
#include <string>
+#include "base/callback.h"
#include "base/macros.h"
#include "media/base/cdm_promise.h"
-#include "media/base/media_keys.h"
#include "media/blink/media_blink_export.h"
#include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h"
@@ -50,7 +50,7 @@ class MEDIA_BLINK_EXPORT NewSessionCdmResultPromise
// CdmPromiseTemplate<T> implementation.
void resolve(const std::string& session_id) override;
- void reject(MediaKeys::Exception exception_code,
+ void reject(CdmPromise::Exception exception_code,
uint32_t system_code,
const std::string& error_message) override;
« no previous file with comments | « media/blink/cdm_result_promise_helper.cc ('k') | media/blink/new_session_cdm_result_promise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698