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

Side by Side Diff: tracing/tracing/core/test_utils.html

Issue 2526613002: Return short-hand object literals to exportTo. (Closed)
Patch Set: . Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 3 Copyright (c) 2012 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/iteration_helpers.html">
9 <link rel="import" href="/tracing/importer/import.html"> 9 <link rel="import" href="/tracing/importer/import.html">
10 <link rel="import" href="/tracing/model/counter.html"> 10 <link rel="import" href="/tracing/model/counter.html">
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 throw new Error('too little information'); 470 throw new Error('too little information');
471 471
472 var category = options.category || 'category'; 472 var category = options.category || 'category';
473 var colorId = options.colorId || 0; 473 var colorId = options.colorId || 0;
474 var args = options.args || {}; 474 var args = options.args || {};
475 return new tr.model.InstantEvent( 475 return new tr.model.InstantEvent(
476 category, title, colorId, start, args); 476 category, title, colorId, start, args);
477 }; 477 };
478 478
479 return { 479 return {
480 TestUtils: TestUtils 480 TestUtils,
481 }; 481 };
482 }); 482 });
483 </script> 483 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698