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

Side by Side Diff: tracing/tracing/value/diagnostics/ownership.html

Issue 2914163002: Check that Diagnostic subclasses are registered in presubmit. (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2017 The Chromium Authors. All rights reserved. 3 Copyright 2017 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <link rel="import" href="/tracing/value/diagnostics/diagnostic.html"> 8 <link rel="import" href="/tracing/value/diagnostics/diagnostic.html">
9 9
10 <script> 10 <script>
(...skipping 30 matching lines...) Expand all
41 41
42 clone() { 42 clone() {
43 return new Ownership(this.emails, this.component); 43 return new Ownership(this.emails, this.component);
44 } 44 }
45 45
46 static fromDict(d) { 46 static fromDict(d) {
47 return new Ownership(d.emails, d.component); 47 return new Ownership(d.emails, d.component);
48 } 48 }
49 } 49 }
50 50
51 return { Ownership }; 51 tr.v.d.Diagnostic.register(Ownership);
52
53 return {
54 Ownership,
55 };
52 }); 56 });
53 </script> 57 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698