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

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

Issue 563083002: Implement MediaKeys.setServerCertificate() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 2 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 14a542db449009f713c1fa3a3f33e09029ddd707..6289ff1f46eb698456c0d2433dc26386e58518fd 100644
--- a/Source/modules/encryptedmedia/MediaKeys.idl
+++ b/Source/modules/encryptedmedia/MediaKeys.idl
@@ -37,6 +37,9 @@ enum SessionType {
[CallWith=ScriptState] MediaKeySession createSession(optional SessionType sessionType = "temporary");
+ [CallWith=ScriptState] Promise setServerCertificate(ArrayBuffer serverCertificate);
+ [CallWith=ScriptState] Promise setServerCertificate(ArrayBufferView serverCertificate);
+
[CallWith=ScriptState] static Promise create(DOMString keySystem);
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