| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright 2016 The Chromium Authors. All rights reserved. | 3 Copyright 2016 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/iteration_helpers.html"> | 8 <link rel="import" href="/tracing/base/utils.html"> |
| 9 | 9 |
| 10 <script> | 10 <script> |
| 11 'use strict'; | 11 'use strict'; |
| 12 | 12 |
| 13 const GREEK_SMALL_LETTER_MU = String.fromCharCode(956); | 13 const GREEK_SMALL_LETTER_MU = String.fromCharCode(956); |
| 14 | 14 |
| 15 tr.exportTo('tr.b', function() { | 15 tr.exportTo('tr.b', function() { |
| 16 const SECONDS_IN_A_MINUTE = 60; | 16 const SECONDS_IN_A_MINUTE = 60; |
| 17 const SECONDS_IN_AN_HOUR = SECONDS_IN_A_MINUTE * 60; | 17 const SECONDS_IN_AN_HOUR = SECONDS_IN_A_MINUTE * 60; |
| 18 const SECONDS_IN_A_DAY = SECONDS_IN_AN_HOUR * 24; | 18 const SECONDS_IN_A_DAY = SECONDS_IN_AN_HOUR * 24; |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 UnitScale.defineUnitScaleFromPrefixScale( | 145 UnitScale.defineUnitScaleFromPrefixScale( |
| 146 'B', 'BYTE', UnitPrefixScale.BINARY, 'MEMORY'); | 146 'B', 'BYTE', UnitPrefixScale.BINARY, 'MEMORY'); |
| 147 | 147 |
| 148 return { | 148 return { |
| 149 UnitPrefixScale, | 149 UnitPrefixScale, |
| 150 UnitScale, | 150 UnitScale, |
| 151 convertUnit, | 151 convertUnit, |
| 152 }; | 152 }; |
| 153 }); | 153 }); |
| 154 </script> | 154 </script> |
| OLD | NEW |