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

Unified Diff: 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: Created 5 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
« no previous file with comments | « 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: Source/modules/encryptedmedia/MediaKeyStatusMap.idl
diff --git a/Source/modules/encryptedmedia/MediaKeyStatusMap.idl b/Source/modules/encryptedmedia/MediaKeyStatusMap.idl
index 41e9853815a9478cdcdafdc333785d278ddbab99..4442e2e539dbc09d9e65607f3ef0722bc0a4affe 100644
--- a/Source/modules/encryptedmedia/MediaKeyStatusMap.idl
+++ b/Source/modules/encryptedmedia/MediaKeyStatusMap.idl
@@ -16,6 +16,8 @@ enum MediaKeyStatus {
[
GarbageCollected,
] interface MediaKeyStatusMap {
+ iterable <BufferSource, MediaKeyStatus>;
readonly attribute unsigned long size;
- readonly maplike <BufferSource, MediaKeyStatus>;
+ boolean has (BufferSource keyId);
sandersd (OOO until July 31) 2015/08/07 23:11:35 Remove spaces before method parameters?
jrummell 2015/08/13 17:59:00 Done.
+ [TreatReturnedNullStringAs=Undefined] MediaKeyStatus get (BufferSource keyId);
};
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeyStatusMap.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698