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

Unified Diff: runtime/lib/timeline.dart

Issue 2984603002: Special-case Timeline.{start,finish}Sync for Fuchsia (Closed)
Patch Set: . 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 side-by-side diff with in-line comments
Download patch
Index: runtime/lib/timeline.dart
diff --git a/runtime/lib/timeline.dart b/runtime/lib/timeline.dart
index ae66b6636c36b5e930eeca5898625f4a241614b0..b7c309f5a23d4cf12218c0702fbc000c9da8f314 100644
--- a/runtime/lib/timeline.dart
+++ b/runtime/lib/timeline.dart
@@ -22,6 +22,9 @@ void _reportTaskEvent(int start, int taskId, String phase, String category,
String name, String argumentsAsJson) native "Timeline_reportTaskEvent";
@patch
+void _reportBeginEvent(String name) native "Timeline_reportBeginEvent";
+
+@patch
void _reportCompleteEvent(int start, int startCpu, String category, String name,
String argumentsAsJson) native "Timeline_reportCompleteEvent";

Powered by Google App Engine
This is Rietveld 408576698