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

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

Issue 397463005: Change EME WebIDL to use ArrayBuffer/ArrayBufferView. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
Index: Source/modules/encryptedmedia/MediaKeys.idl
diff --git a/Source/modules/encryptedmedia/MediaKeys.idl b/Source/modules/encryptedmedia/MediaKeys.idl
index 93e6168bc6a806cdbde9edeea84d46334acc8baa..1f749bba7d89ac197e0f2f2e5955e36febb2510a 100644
--- a/Source/modules/encryptedmedia/MediaKeys.idl
+++ b/Source/modules/encryptedmedia/MediaKeys.idl
@@ -36,7 +36,7 @@ enum SessionType {
readonly attribute DOMString keySystem;
[CallWith=ScriptState] static Promise create(DOMString keySystem);
- [CallWith=ScriptState] Promise createSession(DOMString initDataType, Uint8Array initData, optional SessionType sessionType = "temporary");
+ [CallWith=ScriptState] Promise createSession(DOMString initDataType, ArrayBufferView initData, optional SessionType sessionType = "temporary");
ddorwin 2014/07/16 22:34:58 We need to accept both.
jrummell 2014/07/18 21:56:00 Done.
static boolean isTypeSupported(DOMString keySystem, optional DOMString contentType = null);
};

Powered by Google App Engine
This is Rietveld 408576698