Index: modules/encryptedmedia/MediaKeySession.idl |
diff --git a/modules/encryptedmedia/MediaKeySession.idl b/modules/encryptedmedia/MediaKeySession.idl |
index 9126d3b310048ea17ce3a59d72af98e96231e066..acf3177e4239ed4f24e3e1af08e305cc981d0908 100644 |
--- a/modules/encryptedmedia/MediaKeySession.idl |
+++ b/modules/encryptedmedia/MediaKeySession.idl |
@@ -37,6 +37,10 @@ |
readonly attribute DOMString sessionId; |
[CallWith=ScriptState] readonly attribute Promise closed; |
+ // session initialization |
+ [CallWith=ScriptState] Promise generateRequest(DOMString initDataType, ArrayBuffer initData); |
+ [CallWith=ScriptState] Promise generateRequest(DOMString initDataType, ArrayBufferView initData); |
+ |
// session operations |
[CallWith=ScriptState] Promise update(ArrayBuffer response); |
[CallWith=ScriptState] Promise update(ArrayBufferView response); |