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

Unified Diff: media/base/media_keys.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/base/ipc/media_param_traits_macros.h ('k') | media/blink/cdm_result_promise.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_keys.h
diff --git a/media/base/media_keys.h b/media/base/media_keys.h
index 98489fd8d3eac81285b97d3ad3fa8851d3144849..ecf048f575b59976898ec58b2a0587e189553ebd 100644
--- a/media/base/media_keys.h
+++ b/media/base/media_keys.h
@@ -66,20 +66,6 @@ typedef ScopedVector<CdmKeyInformation> CdmKeysInfo;
class MEDIA_EXPORT MediaKeys
: public base::RefCountedThreadSafe<MediaKeys, MediaKeysTraits> {
public:
- // TODO(xhwang): Remove after prefixed EME support is removed. See
- // http://crbug.com/249976
- // Must be a superset of cdm::MediaKeyException.
- enum Exception {
- NOT_SUPPORTED_ERROR,
- INVALID_STATE_ERROR,
- INVALID_ACCESS_ERROR,
- QUOTA_EXCEEDED_ERROR,
- UNKNOWN_ERROR,
- CLIENT_ERROR,
- OUTPUT_ERROR,
- EXCEPTION_MAX = OUTPUT_ERROR
- };
-
// Type of license required when creating/loading a session.
// Must be consistent with the values specified in the spec:
// https://w3c.github.io/encrypted-media/#idl-def-MediaKeySessionType
« no previous file with comments | « media/base/ipc/media_param_traits_macros.h ('k') | media/blink/cdm_result_promise.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698