OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2014 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2014 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/base/guid.html"> | 8 <link rel="import" href="/tracing/base/guid.html"> |
9 <link rel="import" href="/tracing/base/iteration_helpers.html"> | 9 <link rel="import" href="/tracing/base/utils.html"> |
10 | 10 |
11 <script> | 11 <script> |
12 'use strict'; | 12 'use strict'; |
13 tr.exportTo('tr.b', function() { | 13 tr.exportTo('tr.b', function() { |
14 class Mark { | 14 class Mark { |
15 constructor(groupName, functionName) { | 15 constructor(groupName, functionName) { |
16 if (tr.isHeadless) return; | 16 if (tr.isHeadless) return; |
17 | 17 |
18 this.groupName_ = groupName; | 18 this.groupName_ = groupName; |
19 this.functionName_ = functionName; | 19 this.functionName_ = functionName; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 eventValue: opt_value, | 90 eventValue: opt_value, |
91 }); | 91 }); |
92 } | 92 } |
93 } | 93 } |
94 | 94 |
95 return { | 95 return { |
96 Timing, | 96 Timing, |
97 }; | 97 }; |
98 }); | 98 }); |
99 </script> | 99 </script> |
OLD | NEW |