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

Unified Diff: modules/encryptedmedia/MediaKeys.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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: modules/encryptedmedia/MediaKeys.idl
diff --git a/modules/encryptedmedia/MediaKeys.idl b/modules/encryptedmedia/MediaKeys.idl
index 14a542db449009f713c1fa3a3f33e09029ddd707..7913a4770a2bfdb4aad51c935a3f8c29f8f4feba 100644
--- a/modules/encryptedmedia/MediaKeys.idl
+++ b/modules/encryptedmedia/MediaKeys.idl
@@ -23,21 +23,18 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-enum SessionType {
+enum MediaKeySessionType {
"temporary",
- "persistent"
+ "persistent-license",
};
[
+ ActiveDOMObject,
RuntimeEnabled=EncryptedMedia,
GarbageCollected,
TypeChecking=Interface
] interface MediaKeys {
- readonly attribute DOMString keySystem;
+ [CallWith=ScriptState, RaisesException] MediaKeySession createSession(optional MediaKeySessionType sessionType = "temporary");
- [CallWith=ScriptState] MediaKeySession createSession(optional SessionType sessionType = "temporary");
-
- [CallWith=ScriptState] static Promise create(DOMString keySystem);
-
- static boolean isTypeSupported(DOMString keySystem, optional DOMString contentType = null);
+ [CallWith=ScriptState] Promise<void> setServerCertificate(BufferSource serverCertificate);
};

Powered by Google App Engine
This is Rietveld 408576698