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

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: CHANGELOG.md merge and fatal error Created 4 years, 1 month 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/service.cc ('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 c79d88be2752e9e0a799aa402b03568399a0bdb2..fdcb26c9dd2f93b1d66f79b8db61560d6435c81b 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.
« no previous file with comments | « 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