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

Unified Diff: tracing/tracing/ui/side_panel/metrics_side_panel_test.html

Issue 2656493002: Register metric Histogram names. (Closed)
Patch Set: rebase Created 3 years, 10 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/tracing/metrics/v8/v8_metrics.html ('k') | tracing/tracing_project.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/side_panel/metrics_side_panel_test.html
diff --git a/tracing/tracing/ui/side_panel/metrics_side_panel_test.html b/tracing/tracing/ui/side_panel/metrics_side_panel_test.html
index 0d6f88a467d6fb560ea38d57c3b76c0ffd9d9ac2..8d5cfbce38e2ed456c372992565514773dc01044 100644
--- a/tracing/tracing/ui/side_panel/metrics_side_panel_test.html
+++ b/tracing/tracing/ui/side_panel/metrics_side_panel_test.html
@@ -35,7 +35,9 @@ tr.b.unittest.testSuite(function() {
values.addHistogram(hist);
}
- tr.metrics.MetricRegistry.register(testMetric);
+ tr.metrics.MetricRegistry.register(testMetric, {
+ histogramNames: new Set(['test histogram']),
+ });
test('instantiateCollapsed', function() {
var metricsPanel = document.createElement('tr-ui-sp-metrics-side-panel');
« no previous file with comments | « tracing/tracing/metrics/v8/v8_metrics.html ('k') | tracing/tracing_project.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698