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

Unified Diff: Source/modules/encryptedmedia/MediaKeySession.idl

Issue 543173002: Implement MediaKeySession.generateRequest() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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 | « Source/modules/encryptedmedia/MediaKeySession.cpp ('k') | Source/modules/encryptedmedia/MediaKeys.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encryptedmedia/MediaKeySession.idl
diff --git a/Source/modules/encryptedmedia/MediaKeySession.idl b/Source/modules/encryptedmedia/MediaKeySession.idl
index 9126d3b310048ea17ce3a59d72af98e96231e066..acf3177e4239ed4f24e3e1af08e305cc981d0908 100644
--- a/Source/modules/encryptedmedia/MediaKeySession.idl
+++ b/Source/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);
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeySession.cpp ('k') | Source/modules/encryptedmedia/MediaKeys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698