| 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 ca278ae745d61445c0d8347e73ae594250aa392c..8efa1942d194b3e53d66822e750b704e933d7b43 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
|
|
|