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

Side by Side Diff: perf_insights/perf_insights/mappers/test_mapper.html

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 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
(Empty)
1 <!DOCTYPE html>
2 <!--
3 Copyright (c) 2015 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
6 -->
7 <link rel="import" href="/perf_insights/mre/function_handle.html">
8 <link rel="import" href="/tracing/value/value.html">
9
10 <script>
11 'use strict';
12
13 tr.exportTo('pi.m', function() {
14
15 function testMapFunction(result, model) {
16 var someValue = 4; // Chosen by fair roll of the dice.
17 result.addPair('simon', {value: someValue});
18 }
19 pi.FunctionRegistry.register(testMapFunction);
20
21 return {
22 testMapFunction: testMapFunction
23 };
24 });
25
26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698