| 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..df708ef6c140cb11303697df2cbd01c0a03abf87 100644
|
| --- a/third_party/WebKit/public/platform/WebContentDecryptionModuleException.h
|
| +++ b/third_party/WebKit/public/platform/WebContentDecryptionModuleException.h
|
| @@ -7,14 +7,16 @@
|
|
|
| namespace blink {
|
|
|
| +// From https://w3c.github.io/encrypted-media/#exceptions.
|
| enum WebContentDecryptionModuleException {
|
| + WebContentDecryptionModuleExceptionTypeError,
|
| WebContentDecryptionModuleExceptionNotSupportedError,
|
| WebContentDecryptionModuleExceptionInvalidStateError,
|
| - WebContentDecryptionModuleExceptionInvalidAccessError,
|
| WebContentDecryptionModuleExceptionQuotaExceededError,
|
| - WebContentDecryptionModuleExceptionUnknownError,
|
| - WebContentDecryptionModuleExceptionClientError,
|
| - WebContentDecryptionModuleExceptionOutputError,
|
| + // TODO(jrummell): UnknownError is not part of the spec, but CDMs can
|
| + // generate other error codes (in addition to the 4 listed above). Remove
|
| + // UnknownError when the CDMs no longer use other error codes.
|
| + WebContentDecryptionModuleExceptionUnknownError
|
| };
|
|
|
| } // namespace blink
|
|
|