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

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
« no previous file with comments | « runtime/vm/isolate.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 84b467b4013dae3d2aa7003f981031fe72fee14a..325baa5f446a933a03e4c77e9194e8598186376a 100644
--- a/runtime/vm/service.h
+++ b/runtime/vm/service.h
@@ -17,6 +17,17 @@ 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
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698