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

Unified Diff: modules/encryptedmedia/MediaKeySession.idl

Issue 581453002: Dartium Roll 38 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Sync'd w/ r 182210 Created 6 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
« no previous file with comments | « modules/encryptedmedia/MediaKeyMessageEvent.idl ('k') | modules/encryptedmedia/MediaKeys.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/encryptedmedia/MediaKeySession.idl
diff --git a/modules/encryptedmedia/MediaKeySession.idl b/modules/encryptedmedia/MediaKeySession.idl
index a5cf3338e91d1c17bbc1d6cb26d930369366ab5d..9126d3b310048ea17ce3a59d72af98e96231e066 100644
--- a/modules/encryptedmedia/MediaKeySession.idl
+++ b/modules/encryptedmedia/MediaKeySession.idl
@@ -27,7 +27,7 @@
ActiveDOMObject,
RuntimeEnabled=EncryptedMedia,
GarbageCollected,
- TypeChecking=Interface|Nullable
+ TypeChecking=Interface
] interface MediaKeySession : EventTarget {
// error state
readonly attribute MediaKeyError error;
@@ -35,8 +35,10 @@
// session properties
readonly attribute DOMString keySystem;
readonly attribute DOMString sessionId;
+ [CallWith=ScriptState] readonly attribute Promise closed;
// session operations
- [RaisesException] void update(Uint8Array response);
- [RaisesException] void release();
+ [CallWith=ScriptState] Promise update(ArrayBuffer response);
+ [CallWith=ScriptState] Promise update(ArrayBufferView response);
+ [CallWith=ScriptState] Promise release();
};
« no previous file with comments | « modules/encryptedmedia/MediaKeyMessageEvent.idl ('k') | modules/encryptedmedia/MediaKeys.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698