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

Unified Diff: runtime/vm/service/service.idl

Issue 869773007: Port _echo, etc commands to RPC (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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
« no previous file with comments | « runtime/vm/service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service/service.idl
diff --git a/runtime/vm/service/service.idl b/runtime/vm/service/service.idl
index 80d43c590dd02f6583b354157132b292a7d40ef7..f10ccc796165dce21156b0bdb2edc969c6afb783 100644
--- a/runtime/vm/service/service.idl
+++ b/runtime/vm/service/service.idl
@@ -81,6 +81,21 @@ interface Service {
// returned.
getTypeArgumentsList(isolateId string,
onlyWithInstantiations bool) TypeArgumentsList
+
+ _echo(isolateId string,
+ text string) _EchoResponse
+
+ _echoVM(text string) _EchoResponse
+
+ // Triggers a ServiceEvent with EventType '_Echo'.
+ _triggerEchoEvent(isolateId string,
+ text string) _EchoResponse
+
+ // Response is bad JSON.
+ _respondWithMalformedJson(isolateId string) Response
+
+ // Response is not an object.
+ _respondWithMalformedObject(isolateId string) Response
}
@@ -102,6 +117,11 @@ struct Response {
}
+struct _EchoResponse extends Response {
+ text string
+}
+
+
// Persistent objects in the vm are returned as subclasses of Object.
struct Object extends Response {
// The object <code>id</code> can be used to refer to a persistent
« no previous file with comments | « runtime/vm/service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698