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

Unified Diff: tracing/tracing/value/diagnostics/ownership.html

Issue 2977283002: Ownership into GenericSets (Closed)
Patch Set: Fix tests after reabse Created 3 years, 5 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
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>
« no previous file with comments | « tracing/tracing/value/diagnostics/all_diagnostics.html ('k') | tracing/tracing/value/diagnostics/ownership_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698