| Index: tracing/tracing/value/diagnostics/add_related_names.html
|
| diff --git a/tracing/tracing/value/diagnostics/add_related_names.html b/tracing/tracing/value/diagnostics/add_related_names.html
|
| deleted file mode 100644
|
| index a8151222466af3d9c73107fdb1814e018a4b77ca..0000000000000000000000000000000000000000
|
| --- a/tracing/tracing/value/diagnostics/add_related_names.html
|
| +++ /dev/null
|
| @@ -1,41 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<!--
|
| -Copyright 2017 The Chromium Authors. All rights reserved.
|
| -Use of this source code is governed by a BSD-style license that can be
|
| -found in the LICENSE file.
|
| --->
|
| -
|
| -<link rel="import" href="/tracing/value/diagnostics/reserved_names.html">
|
| -
|
| -<script>
|
| -'use strict';
|
| -
|
| -tr.exportTo('tr.v.d', function() {
|
| - /**
|
| - * Add related names GenericSet diagnostic.
|
| - *
|
| - * @param {!tr.v.HistogramSet} histograms
|
| - */
|
| - function addRelatedNames(histograms) {
|
| - for (const hist of histograms) {
|
| - const relatedNames = new Set();
|
| - for (const [name, diagnostic] of hist.diagnostics) {
|
| - if (diagnostic instanceof tr.v.d.RelatedHistogramMap) {
|
| - for (const [relationshipName, relatedHist] of diagnostic) {
|
| - relatedNames.add(relatedHist.name);
|
| - }
|
| - }
|
| - }
|
| - if (relatedNames.size) {
|
| - hist.diagnostics.set(
|
| - tr.v.d.RESERVED_NAMES.RELATED_NAMES,
|
| - new tr.v.d.GenericSet(relatedNames));
|
| - }
|
| - }
|
| - }
|
| -
|
| - return {
|
| - addRelatedNames,
|
| - };
|
| -});
|
| -</script>
|
|
|