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

Unified Diff: runtime/lib/timeline.dart

Issue 2220883004: Use metadata annotation @patch for patch classes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: wip Created 4 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 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 df43dec0b5f24b2be8ce3feafd817eb6c1ea9985..da5760eb5562bbfebc77d7c0bbae969bb4d8ddc8 100644
--- a/runtime/lib/timeline.dart
+++ b/runtime/lib/timeline.dart
@@ -4,33 +4,33 @@
import 'dart:_internal';
-patch bool _isDartStreamEnabled() native "Timeline_isDartStreamEnabled";
+@patch bool _isDartStreamEnabled() native "Timeline_isDartStreamEnabled";
-patch int _getTraceClock() native "Timeline_getTraceClock";
+@patch int _getTraceClock() native "Timeline_getTraceClock";
-patch int _getThreadCpuClock() native "Timeline_getThreadCpuClock";
+@patch int _getThreadCpuClock() native "Timeline_getThreadCpuClock";
-patch int _getNextAsyncId() native "Timeline_getNextAsyncId";
+@patch int _getNextAsyncId() native "Timeline_getNextAsyncId";
-patch int _getIsolateNum() native "Timeline_getIsolateNum";
+@patch int _getIsolateNum() native "Timeline_getIsolateNum";
-patch void _reportTaskEvent(
- int start,
- int taskId,
- String phase,
- String category,
- String name,
- String argumentsAsJson) native "Timeline_reportTaskEvent";
+@patch void _reportTaskEvent(
+ int start,
+ int taskId,
+ String phase,
+ String category,
+ String name,
+ String argumentsAsJson) native "Timeline_reportTaskEvent";
-patch void _reportCompleteEvent(
- int start,
- int end,
- String category,
- String name,
- String argumentsAsJson) native "Timeline_reportCompleteEvent";
+@patch void _reportCompleteEvent(
+ int start,
+ int end,
+ String category,
+ String name,
+ String argumentsAsJson) native "Timeline_reportCompleteEvent";
-patch void _reportInstantEvent(
- int start,
- String category,
- String name,
- String argumentsAsJson) native "Timeline_reportInstantEvent";
+@patch void _reportInstantEvent(
+ int start,
+ String category,
+ String name,
+ String argumentsAsJson) native "Timeline_reportInstantEvent";

Powered by Google App Engine
This is Rietveld 408576698