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

Side by Side 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 unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698