| Index: tracing/tracing/value/diagnostics/ownership.html
|
| diff --git a/tracing/tracing/value/diagnostics/ownership.html b/tracing/tracing/value/diagnostics/ownership.html
|
| deleted file mode 100644
|
| index d2731dce7de8401b6974a4f2c7530e2899b88b4a..0000000000000000000000000000000000000000
|
| --- a/tracing/tracing/value/diagnostics/ownership.html
|
| +++ /dev/null
|
| @@ -1,57 +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/diagnostic.html">
|
| -
|
| -<script>
|
| -'use strict';
|
| -
|
| -tr.exportTo('tr.v.d.', function() {
|
| - /**
|
| - * An Ownership diagnostic class to include the information on the owners
|
| - * of different benchmarks being traced, so that ownership information can
|
| - * be consumed and made available in different parts of troubleshooting.
|
| - **/
|
| - class Ownership extends tr.v.d.Diagnostic {
|
| - /**
|
| - * @param {Array<string>} emails a list of the owners' email addresses
|
| - * @param {string} component a Monorail component
|
| - **/
|
| - constructor(emails, component) {
|
| - super();
|
| -
|
| - this.emails = emails || [];
|
| -
|
| - if (typeof(component) === 'string') {
|
| - this.component = component;
|
| - }
|
| - }
|
| -
|
| - asDictInto_(d) {
|
| - if (this.component !== undefined) {
|
| - d.component = this.component;
|
| - }
|
| -
|
| - d.emails = this.emails;
|
| - }
|
| -
|
| - clone() {
|
| - return new Ownership(this.emails, this.component);
|
| - }
|
| -
|
| - static fromDict(d) {
|
| - return new Ownership(d.emails, d.component);
|
| - }
|
| - }
|
| -
|
| - tr.v.d.Diagnostic.register(Ownership);
|
| -
|
| - return {
|
| - Ownership,
|
| - };
|
| -});
|
| -</script>
|
|
|