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

Unified Diff: runtime/vm/service_isolate.h

Issue 1640773005: Make it possible to share the embedder's dart sources for the vmservice (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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/bootstrap_natives.h ('k') | runtime/vm/service_isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service_isolate.h
diff --git a/runtime/vm/service_isolate.h b/runtime/vm/service_isolate.h
index a942ec153e7148ebff0426cb73218c004389ded2..1b1a9f66bac753c708f3811e2e11ad115bc78c71 100644
--- a/runtime/vm/service_isolate.h
+++ b/runtime/vm/service_isolate.h
@@ -34,6 +34,13 @@ class ServiceIsolate : public AllStatic {
static void BootVmServiceLibrary();
+ static void SetServerAddress(const char* address);
+
+ // Returns the server's web address or NULL if none is running.
+ static const char* server_address() {
+ return server_address_;
+ }
+
private:
static void KillServiceIsolate();
@@ -59,6 +66,7 @@ class ServiceIsolate : public AllStatic {
static Dart_Port port_;
static Dart_Port load_port_;
static Dart_Port origin_;
+ static char* server_address_;
friend class Dart;
friend class RunServiceTask;
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/service_isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698