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

Side by Side Diff: tracing/tracing/base/unit_scale.html

Issue 2995843002: Merge iteration_helpers into utils.html. (Closed)
Patch Set: Created 3 years, 4 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
« no previous file with comments | « tracing/tracing/base/unit.html ('k') | tracing/tracing/base/unittest/suite_loader.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « tracing/tracing/base/unit.html ('k') | tracing/tracing/base/unittest/suite_loader.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698