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

Unified Diff: runtime/lib/developer.dart

Issue 2438613002: Provide an API to dart:developer to control the web server hosting the Service Protocol (Closed)
Patch Set: disable the auth token until we announce the breaking change Created 4 years, 2 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/developer.dart
diff --git a/runtime/lib/developer.dart b/runtime/lib/developer.dart
index ec3d38b621c6552ec0abbf0b5b19934b450d1e11..d2e48a592d5ef4006cadb03014c01f1ec8ba6cc8 100644
--- a/runtime/lib/developer.dart
+++ b/runtime/lib/developer.dart
@@ -148,3 +148,12 @@ _postResponse(SendPort replyPort,
}
replyPort.send(sb.toString());
}
+
+@patch int _getServiceMajorVersion() native "Developer_getServiceMajorVersion";
+
+@patch int _getServiceMinorVersion() native "Developer_getServiceMinorVersion";
+
+@patch void _getServerInfo(SendPort sp) native "Developer_getServerInfo";
+
+@patch void _webServerControl(SendPort sp, bool enable)
+ native "Developer_webServerControl";

Powered by Google App Engine
This is Rietveld 408576698