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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.idl

Issue 1237343004: Convert MediaKeyStatusMap to iterable<BufferSource,MediaKeyStatus> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: changes Created 4 years, 6 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 | « third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.idl
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.idl b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.idl
index 066dd729c56823025cb1e3482d60b097177c249e..f6f363fb09ed614e63aedbbfb92a13050c648b5b 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.idl
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.idl
@@ -14,8 +14,9 @@ enum MediaKeyStatus {
"internal-error"
};
-[
-] interface MediaKeyStatusMap {
+interface MediaKeyStatusMap {
+ iterable <BufferSource, MediaKeyStatus>;
readonly attribute unsigned long size;
- readonly maplike <BufferSource, MediaKeyStatus>;
+ boolean has(BufferSource keyId);
+ [CallWith=ScriptState] any get(BufferSource keyId);
};
« no previous file with comments | « third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698