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

Unified Diff: runtime/vm/service_isolate.h

Issue 2438613002: Provide an API to dart:developer to control the web server hosting the Service Protocol (Closed)
Patch Set: disable the auth token until we announce the breaking change Created 4 years, 2 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_isolate.h
diff --git a/runtime/vm/service_isolate.h b/runtime/vm/service_isolate.h
index 9def85cd43febb636541f7094f0260318584edfc..afd95518cb5b05451576ee263433a1c3f9f2e47a 100644
--- a/runtime/vm/service_isolate.h
+++ b/runtime/vm/service_isolate.h
@@ -13,6 +13,7 @@
namespace dart {
class ObjectPointerVisitor;
+class SendPort;
class ServiceIsolate : public AllStatic {
public:
@@ -36,6 +37,9 @@ class ServiceIsolate : public AllStatic {
static void BootVmServiceLibrary();
+ static void RequestServerInfo(const SendPort& sp);
+ static void ControlWebServer(const SendPort& sp, bool enable);
+
static void SetServerAddress(const char* address);
// Returns the server's web address or NULL if none is running.
« runtime/vm/service.h ('K') | « runtime/vm/service.cc ('k') | runtime/vm/service_isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698