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 125103004: Move service into VM (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: runtime/vm/service.h
diff --git a/runtime/vm/service.h b/runtime/vm/service.h
index 84b467b4013dae3d2aa7003f981031fe72fee14a..2cf74967e0a5d1b6992ae1b62e491698d58cbd35 100644
--- a/runtime/vm/service.h
+++ b/runtime/vm/service.h
@@ -17,6 +17,19 @@ class Isolate;
class Service : public AllStatic {
public:
static void HandleServiceMessage(Isolate* isolate, const Instance& message);
+ static Isolate* GetServiceIsolate(void* callback_data);
+
+ static bool SendIsolateStartupMessage();
+ static bool SendIsolateShutdownMessage();
+
+ private:
+ static bool IsRunning();
+ static Isolate* service_isolate_;
+ static Dart_LibraryTagHandler default_handler_;
+ static Dart_Port port_;
+ static Dart_Handle GetSource(const char* name);
+ static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag, Dart_Handle library,
+ Dart_Handle url);
};
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698