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

Unified Diff: third_party/WebKit/public/platform/WebContentDecryptionModuleException.h

Issue 2342953002: Update EME errors to use TypeError (Closed)
Patch Set: V8ThrowException Created 4 years, 3 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: third_party/WebKit/public/platform/WebContentDecryptionModuleException.h
diff --git a/third_party/WebKit/public/platform/WebContentDecryptionModuleException.h b/third_party/WebKit/public/platform/WebContentDecryptionModuleException.h
index e17dc79b5065cae4214268984a4578557a5edf96..78b186041f814304b2b00535568752e3f7c9c1f8 100644
--- a/third_party/WebKit/public/platform/WebContentDecryptionModuleException.h
+++ b/third_party/WebKit/public/platform/WebContentDecryptionModuleException.h
@@ -7,14 +7,13 @@
namespace blink {
+// From http://w3c.github.io/encrypted-media/#exceptions.
ddorwin 2016/09/19 22:33:53 http*s* please :)
jrummell 2016/09/20 01:59:17 Done.
enum WebContentDecryptionModuleException {
+ WebContentDecryptionModuleExceptionTypeError,
WebContentDecryptionModuleExceptionNotSupportedError,
WebContentDecryptionModuleExceptionInvalidStateError,
- WebContentDecryptionModuleExceptionInvalidAccessError,
WebContentDecryptionModuleExceptionQuotaExceededError,
- WebContentDecryptionModuleExceptionUnknownError,
- WebContentDecryptionModuleExceptionClientError,
- WebContentDecryptionModuleExceptionOutputError,
+ WebContentDecryptionModuleExceptionUnknownError
ddorwin 2016/09/19 22:33:53 This isn't listed at that URL. Do we still need it
jrummell 2016/09/20 01:59:17 Yes. Added comment.
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698