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

Unified Diff: tools/dom/scripts/monitored.py

Issue 16494002: Expand overloaded methods and optional parameters in the html library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: tools/dom/scripts/monitored.py
diff --git a/tools/dom/scripts/monitored.py b/tools/dom/scripts/monitored.py
index 9d0c8da390a8495414989eae26878a52648a9228..5d180c96964e2b9a97bc855fb0d2592b657114ed 100644
--- a/tools/dom/scripts/monitored.py
+++ b/tools/dom/scripts/monitored.py
@@ -46,6 +46,9 @@ class Dict(MonitoredCollection):
self._used_keys.add(key)
return self._map.get(key, default)
+ def keys(self):
+ return self._map.keys()
+
def CheckUsage(self):
for v in sorted(self._map.keys()):
if v not in self._used_keys:

Powered by Google App Engine
This is Rietveld 408576698