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

Side by Side Diff: tracing/tracing/mre/function_handle.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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2015 The Chromium Authors. All rights reserved. 3 Copyright 2015 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 <link rel="import" href="/tracing/base/iteration_helpers.html"> 7 <link rel="import" href="/tracing/base/utils.html">
8 8
9 <script> 9 <script>
10 'use strict'; 10 'use strict';
11 11
12 tr.exportTo('tr.mre', function() { 12 tr.exportTo('tr.mre', function() {
13 const FunctionRegistry = { 13 const FunctionRegistry = {
14 allFunctions_: [], 14 allFunctions_: [],
15 allFunctionsByName_: {}, 15 allFunctionsByName_: {},
16 get allFunctions() { return this.allFunctions_; }, 16 get allFunctions() { return this.allFunctions_; },
17 get allFunctionsByName() { return this.allFunctionsByName_; } 17 get allFunctionsByName() { return this.allFunctionsByName_; }
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 return new FunctionHandle(modulesToLoad, handleDict.function_name, options); 176 return new FunctionHandle(modulesToLoad, handleDict.function_name, options);
177 }; 177 };
178 178
179 return { 179 return {
180 FunctionHandle, 180 FunctionHandle,
181 ModuleToLoad, 181 ModuleToLoad,
182 FunctionRegistry, 182 FunctionRegistry,
183 }; 183 };
184 }); 184 });
185 </script> 185 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/model/memory_allocator_dump.html ('k') | tracing/tracing/mre/map_single_trace.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698