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

Side by Side Diff: sdk/lib/developer/timeline.dart

Issue 2974433002: Remaining private libs (Closed)
Patch Set: It's html_common Created 3 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
« no previous file with comments | « sdk/lib/developer/service.dart ('k') | sdk/lib/html/html_common/conversions.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of "developer.dart"; 5 part of "dart:developer";
6 6
7 const bool _isProduct = const bool.fromEnvironment("dart.vm.product"); 7 const bool _isProduct = const bool.fromEnvironment("dart.vm.product");
8 8
9 typedef dynamic TimelineSyncFunction(); 9 typedef dynamic TimelineSyncFunction();
10 typedef Future TimelineAsyncFunction(); 10 typedef Future TimelineAsyncFunction();
11 11
12 /// Add to the timeline. 12 /// Add to the timeline.
13 class Timeline { 13 class Timeline {
14 /// Start a synchronous operation labeled [name]. Optionally takes 14 /// Start a synchronous operation labeled [name]. Optionally takes
15 /// a [Map] of [arguments]. This operation must be finished before 15 /// a [Map] of [arguments]. This operation must be finished before
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 external void _reportTaskEvent(int start, int taskId, String phase, 279 external void _reportTaskEvent(int start, int taskId, String phase,
280 String category, String name, String argumentsAsJson); 280 String category, String name, String argumentsAsJson);
281 281
282 /// Reports a complete synchronous event. 282 /// Reports a complete synchronous event.
283 external void _reportCompleteEvent(int start, int startCpu, String category, 283 external void _reportCompleteEvent(int start, int startCpu, String category,
284 String name, String argumentsAsJson); 284 String name, String argumentsAsJson);
285 285
286 /// Reports an instant event. 286 /// Reports an instant event.
287 external void _reportInstantEvent( 287 external void _reportInstantEvent(
288 int start, String category, String name, String argumentsAsJson); 288 int start, String category, String name, String argumentsAsJson);
OLDNEW
« no previous file with comments | « sdk/lib/developer/service.dart ('k') | sdk/lib/html/html_common/conversions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698