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

Unified Diff: runtime/vm/service.h

Issue 584023004: Service isolate rework (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/vm/service.h
diff --git a/runtime/vm/service.h b/runtime/vm/service.h
index ec3a807ad30c2bc0f0a418bce2f5d3f56770123f..d73f9b1a06e21b168663e4f7754ce98e8a436e3c 100644
--- a/runtime/vm/service.h
+++ b/runtime/vm/service.h
@@ -72,6 +72,10 @@ class Service : public AllStatic {
static void SendEchoEvent(Isolate* isolate);
+ static void MaybeInjectVMServiceLibrary(Isolate* isolate);
+
+ static void RunService();
+
private:
// These must be kept in sync with service/constants.dart
static const int kEventFamilyDebug = 0;
@@ -81,11 +85,13 @@ class Service : public AllStatic {
static void EmbedderHandleMessage(EmbedderServiceHandler* handler,
JSONStream* js);
+
static EmbedderServiceHandler* FindIsolateEmbedderHandler(const char* name);
static EmbedderServiceHandler* FindRootEmbedderHandler(const char* name);
static Dart_Handle GetSource(const char* name);
static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag, Dart_Handle library,
Dart_Handle url);
+
static void SendEvent(intptr_t eventId, const Object& eventMessage);
// Does not take ownership of 'data'.
static void SendEvent(intptr_t eventId,
@@ -97,7 +103,6 @@ class Service : public AllStatic {
static EmbedderServiceHandler* root_service_handler_head_;
static Isolate* service_isolate_;
- static Dart_LibraryTagHandler embedder_provided_handler_;
static Dart_Port port_;
static uint32_t event_mask_;
};

Powered by Google App Engine
This is Rietveld 408576698