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

Unified Diff: runtime/lib/developer.dart

Issue 1537523002: Add dart:developer.postEvent for posting events to the service protocol from Dart code (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/developer.cc ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/developer.dart
diff --git a/runtime/lib/developer.dart b/runtime/lib/developer.dart
index 6a93d073127bb4da26cec426c30d34ba3453acc4..af505ffa5bac9b54d8f6731f2110614c5c226f32 100644
--- a/runtime/lib/developer.dart
+++ b/runtime/lib/developer.dart
@@ -52,6 +52,9 @@ _log(String message,
Object error,
StackTrace stackTrace) native "Developer_log";
+patch void _postEvent(String eventKind, String eventData)
+ native "Developer_postEvent";
+
patch ServiceExtensionHandler _lookupExtension(String method)
native "Developer_lookupExtension";
« no previous file with comments | « runtime/lib/developer.cc ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698