| Index: tracing/tracing/value/diagnostics/revision_info.html
|
| diff --git a/tracing/tracing/value/diagnostics/revision_info.html b/tracing/tracing/value/diagnostics/revision_info.html
|
| deleted file mode 100644
|
| index add65b23d29e62c3480bbbc4e82a4199657e63ce..0000000000000000000000000000000000000000
|
| --- a/tracing/tracing/value/diagnostics/revision_info.html
|
| +++ /dev/null
|
| @@ -1,94 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<!--
|
| -Copyright 2016 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/base/utils.html">
|
| -<link rel="import" href="/tracing/value/diagnostics/diagnostic.html">
|
| -
|
| -<script>
|
| -'use strict';
|
| -
|
| -tr.exportTo('tr.v.d', function() {
|
| - class RevisionInfo extends tr.v.d.Diagnostic {
|
| - constructor(info) {
|
| - super();
|
| - this.chromiumCommitPosition_ = info.chromiumCommitPosition || undefined;
|
| - this.v8CommitPosition_ = info.v8CommitPosition || undefined;
|
| - this.chromium_ = info.chromium || [];
|
| - this.v8_ = info.v8 || [];
|
| - this.catapult_ = info.catapult || [];
|
| - this.angle_ = info.angle || [];
|
| - this.skia_ = info.skia || [];
|
| - this.webrtc_ = info.webrtc || [];
|
| - }
|
| -
|
| - addToHistogram(hist) {
|
| - hist.diagnostics.set(tr.v.d.RESERVED_NAMES.REVISIONS, this);
|
| - }
|
| -
|
| - clone() {
|
| - const clone = new tr.v.d.MergedRevisionInfo();
|
| - clone.addDiagnostic(this);
|
| - return clone;
|
| - }
|
| -
|
| - asDictInto_(d) {
|
| - d.chromiumCommitPosition = this.chromiumCommitPosition;
|
| - d.v8CommitPosition = this.v8CommitPosition;
|
| - d.chromium = this.chromium;
|
| - d.v8 = this.v8;
|
| - d.catapult = this.catapult;
|
| - d.angle = this.angle;
|
| - d.skia = this.skia;
|
| - d.webrtc = this.webrtc;
|
| - }
|
| -
|
| - static fromDict(d) {
|
| - return new RevisionInfo(d);
|
| - }
|
| -
|
| - get chromiumCommitPosition() {
|
| - return this.chromiumCommitPosition_;
|
| - }
|
| -
|
| - get v8CommitPosition() {
|
| - return this.v8CommitPosition_;
|
| - }
|
| -
|
| - get chromium() {
|
| - return this.chromium_;
|
| - }
|
| -
|
| - get v8() {
|
| - return this.v8_;
|
| - }
|
| -
|
| - get catapult() {
|
| - return this.catapult_;
|
| - }
|
| -
|
| - get angle() {
|
| - return this.angle_;
|
| - }
|
| -
|
| - get skia() {
|
| - return this.skia_;
|
| - }
|
| -
|
| - get webrtc() {
|
| - return this.webrtc_;
|
| - }
|
| - }
|
| -
|
| - tr.v.d.Diagnostic.register(RevisionInfo, {
|
| - elementName: 'tr-v-ui-revision-info-span'
|
| - });
|
| -
|
| - return {
|
| - RevisionInfo,
|
| - };
|
| -});
|
| -</script>
|
|
|