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

Unified Diff: runtime/vm/service.h

Issue 2759533002: Remove legacy restart code (Closed)
Patch Set: asiva review Created 3 years, 9 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/raw_object.h ('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 a1ee159c3e4f6e7a0a6c400ac61ded5264c8f7cc..59d11fbbe887bd8bfdb43cfc489c18838e3e8b11 100644
--- a/runtime/vm/service.h
+++ b/runtime/vm/service.h
@@ -27,6 +27,7 @@ class Isolate;
class JSONStream;
class Object;
class RawInstance;
+class RawError;
class ServiceEvent;
class String;
@@ -81,14 +82,14 @@ class StreamInfo {
class Service : public AllStatic {
public:
// Handles a message which is not directed to an isolate.
- static void HandleRootMessage(const Array& message);
+ static RawError* 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);
+ static RawError* HandleObjectRootMessage(const Array& message);
// Handles a message which is directed to a particular isolate.
- static void HandleIsolateMessage(Isolate* isolate, const Array& message);
+ static RawError* HandleIsolateMessage(Isolate* isolate, const Array& message);
static void HandleEvent(ServiceEvent* event);
@@ -169,9 +170,9 @@ class Service : public AllStatic {
static void CheckForPause(Isolate* isolate, JSONStream* stream);
private:
- static void InvokeMethod(Isolate* isolate,
- const Array& message,
- bool parameters_are_dart_objects = false);
+ static RawError* InvokeMethod(Isolate* isolate,
+ const Array& message,
+ bool parameters_are_dart_objects = false);
static void EmbedderHandleMessage(EmbedderServiceHandler* handler,
JSONStream* js);
@@ -203,7 +204,7 @@ class Service : public AllStatic {
const char* kind,
JSONStream* event);
- static void MaybePause(Isolate* isolate);
+ static RawError* MaybePause(Isolate* isolate, const Error& error);
static EmbedderServiceHandler* isolate_service_handler_head_;
static EmbedderServiceHandler* root_service_handler_head_;
« no previous file with comments | « runtime/vm/raw_object.h ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698