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

Unified Diff: Source/modules/encryptedmedia/MediaKeys.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/MediaKeys.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encryptedmedia/MediaKeys.idl
diff --git a/Source/modules/encryptedmedia/MediaKeys.idl b/Source/modules/encryptedmedia/MediaKeys.idl
index 05dded46dae0f42b76153e5fd081176ceddaeb7c..14a542db449009f713c1fa3a3f33e09029ddd707 100644
--- a/Source/modules/encryptedmedia/MediaKeys.idl
+++ b/Source/modules/encryptedmedia/MediaKeys.idl
@@ -35,9 +35,9 @@ enum SessionType {
] interface MediaKeys {
readonly attribute DOMString keySystem;
+ [CallWith=ScriptState] MediaKeySession createSession(optional SessionType sessionType = "temporary");
+
[CallWith=ScriptState] static Promise create(DOMString keySystem);
- [CallWith=ScriptState] Promise createSession(DOMString initDataType, ArrayBuffer initData, optional SessionType sessionType = "temporary");
- [CallWith=ScriptState] Promise createSession(DOMString initDataType, ArrayBufferView initData, optional SessionType sessionType = "temporary");
static boolean isTypeSupported(DOMString keySystem, optional DOMString contentType = null);
};
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeys.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698