Index: runtime/bin/vmservice_impl.h |
diff --git a/runtime/bin/vmservice_impl.h b/runtime/bin/vmservice_impl.h |
index dde20361f011b653d41db7020963922946896986..80ad7ca5dcf1f4f386ab988f93a21a94cfdca3db 100644 |
--- a/runtime/bin/vmservice_impl.h |
+++ b/runtime/bin/vmservice_impl.h |
@@ -14,13 +14,12 @@ namespace bin { |
class VmService { |
public: |
- // Returns false if service could not be started. |
- static bool Start(const char *server_ip, intptr_t server_port); |
// Error message if startup failed. |
static const char* GetErrorMessage(); |
+ static bool Setup(const char* server_ip, intptr_t server_port); |
+ |
private: |
- static bool _Start(const char *server_ip, intptr_t server_port); |
static Dart_Handle GetSource(const char* name); |
static Dart_Handle LoadScript(const char* name); |
static Dart_Handle LoadSource(Dart_Handle library, const char* name); |
@@ -31,7 +30,6 @@ class VmService { |
friend void TriggerResourceLoad(Dart_NativeArguments args); |
- static void ThreadMain(uword parameters); |
static const char* error_msg_; |
DISALLOW_ALLOCATION(); |
DISALLOW_IMPLICIT_CONSTRUCTORS(VmService); |