| Index: tracing/tracing/metrics/value_set.html
|
| diff --git a/tracing/tracing/metrics/value_set.html b/tracing/tracing/metrics/value_set.html
|
| index 60d636146a8bae77347d802a3e336f4a21fd348d..b8fce24bb4e8b742ffb2a7d8fe5feeb7812a1f42 100644
|
| --- a/tracing/tracing/metrics/value_set.html
|
| +++ b/tracing/tracing/metrics/value_set.html
|
| @@ -8,6 +8,7 @@ found in the LICENSE file.
|
| <link rel="import" href="/tracing/base/iteration_helpers.html">
|
| <link rel="import" href="/tracing/value/numeric.html">
|
| <link rel="import" href="/tracing/value/unit.html">
|
| +<link rel="import" href="/tracing/value/value.html">
|
|
|
| <script>
|
| 'use strict';
|
| @@ -30,6 +31,14 @@ tr.exportTo('tr.metrics', function() {
|
| return tr.b.dictionaryValues(this.values_).map(cb, opt_this);
|
| },
|
|
|
| + addValueDicts: function(dicts) {
|
| + dicts.forEach(function(dict) {
|
| + var value = tr.v.Value.fromDict(dict);
|
| + this.addValue(value);
|
| + // TODO(TBMv2.1): Patch up RelatedValueSets here.
|
| + }, this);
|
| + },
|
| +
|
| getValuesWithName: function(name) {
|
| return tr.b.dictionaryValues(this.values_).filter(function(value) {
|
| return value.name.indexOf(name) > -1;
|
|
|