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

Side by Side Diff: tracing/tracing/metrics/metric_registry.html

Issue 2995843002: Merge iteration_helpers into utils.html. (Closed)
Patch Set: rebase Created 3 years, 4 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2016 The Chromium Authors. All rights reserved. 3 Copyright 2016 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 <link rel="import" href="/tracing/base/base.html"> 7 <link rel="import" href="/tracing/base/base.html">
8 <link rel="import" href="/tracing/base/extension_registry.html"> 8 <link rel="import" href="/tracing/base/extension_registry.html">
9 <link rel="import" href="/tracing/base/iteration_helpers.html"> 9 <link rel="import" href="/tracing/base/utils.html">
10 10
11 <script> 11 <script>
12 'use strict'; 12 'use strict';
13 13
14 tr.exportTo('tr.metrics', function() { 14 tr.exportTo('tr.metrics', function() {
15 function MetricRegistry() {} 15 function MetricRegistry() {}
16 16
17 const options = new tr.b.ExtensionRegistryOptions(tr.b.BASIC_REGISTRY_MODE); 17 const options = new tr.b.ExtensionRegistryOptions(tr.b.BASIC_REGISTRY_MODE);
18 options.defaultMetadata = {}; 18 options.defaultMetadata = {};
19 tr.b.decorateExtensionRegistry(MetricRegistry, options); 19 tr.b.decorateExtensionRegistry(MetricRegistry, options);
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 104 }
105 105
106 MetricRegistry.checkFilename(metric.name); 106 MetricRegistry.checkFilename(metric.name);
107 }); 107 });
108 108
109 return { 109 return {
110 MetricRegistry, 110 MetricRegistry,
111 }; 111 };
112 }); 112 });
113 </script> 113 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698