Index: runtime/vm/service.h |
diff --git a/runtime/vm/service.h b/runtime/vm/service.h |
index 084b2180031f5c78b588eb7d12a67cdbfa030f46..d2140e6f145c046f5b3157241e64dc9f980f299c 100644 |
--- a/runtime/vm/service.h |
+++ b/runtime/vm/service.h |
@@ -81,6 +81,9 @@ class Service : public AllStatic { |
public: |
// Handles a message which is not directed to an isolate. |
static void HandleRootMessage(const Array& message); |
+ // Handles a message which is not directed to an isolate and also |
+ // expects the parameter keys and values to be actual dart objects. |
+ static void HandleObjectRootMessage(const Array& message); |
// Handles a message which is directed to a particular isolate. |
static void HandleIsolateMessage(Isolate* isolate, const Array& message); |
@@ -161,7 +164,9 @@ class Service : public AllStatic { |
static void PrintJSONForVM(JSONStream* js, bool ref); |
private: |
- static void InvokeMethod(Isolate* isolate, const Array& message); |
+ static void InvokeMethod(Isolate* isolate, |
+ const Array& message, |
+ bool parameters_are_dart_objects = false); |
static void EmbedderHandleMessage(EmbedderServiceHandler* handler, |
JSONStream* js); |