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

Unified Diff: runtime/vm/service.h

Issue 2059883003: DevFS initial implementation (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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/json_stream.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « runtime/vm/json_stream.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698