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

Unified Diff: tracing/tracing/metrics/value_list.html

Issue 1927723002: Add a metrics table side panel (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: clean up Created 4 years, 7 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 | « tracing/trace_viewer.gypi ('k') | tracing/tracing/ui/extras/lean_config.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/metrics/value_list.html
diff --git a/tracing/tracing/metrics/value_list.html b/tracing/tracing/metrics/value_list.html
index 6533a20b197898280cf42bc7b6ed875bc4b20e44..f514baad3b4ea742bd5b717be191291802aa2113 100644
--- a/tracing/tracing/metrics/value_list.html
+++ b/tracing/tracing/metrics/value_list.html
@@ -23,6 +23,10 @@ tr.exportTo('tr.metrics', function() {
return this.values_.map(function(v) { return v.asDict(); });
},
+ map: function(cb, opt_this) {
+ return this.values_.map(cb, opt_this);
+ },
+
getValuesWithName: function(name) {
return this.values_.filter(function(value) {
return value.name.indexOf(name) > -1;
« no previous file with comments | « tracing/trace_viewer.gypi ('k') | tracing/tracing/ui/extras/lean_config.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698