Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebContentDecryptionModuleException_h | 5 #ifndef WebContentDecryptionModuleException_h |
| 6 #define WebContentDecryptionModuleException_h | 6 #define WebContentDecryptionModuleException_h |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 // 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.
| |
| 10 enum WebContentDecryptionModuleException { | 11 enum WebContentDecryptionModuleException { |
| 12 WebContentDecryptionModuleExceptionTypeError, | |
| 11 WebContentDecryptionModuleExceptionNotSupportedError, | 13 WebContentDecryptionModuleExceptionNotSupportedError, |
| 12 WebContentDecryptionModuleExceptionInvalidStateError, | 14 WebContentDecryptionModuleExceptionInvalidStateError, |
| 13 WebContentDecryptionModuleExceptionInvalidAccessError, | |
| 14 WebContentDecryptionModuleExceptionQuotaExceededError, | 15 WebContentDecryptionModuleExceptionQuotaExceededError, |
| 15 WebContentDecryptionModuleExceptionUnknownError, | 16 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.
| |
| 16 WebContentDecryptionModuleExceptionClientError, | |
| 17 WebContentDecryptionModuleExceptionOutputError, | |
| 18 }; | 17 }; |
| 19 | 18 |
| 20 } // namespace blink | 19 } // namespace blink |
| 21 | 20 |
| 22 #endif // WebContentDecryptionModuleException_h | 21 #endif // WebContentDecryptionModuleException_h |
| OLD | NEW |