| Index: runtime/bin/vmservice_impl.h
|
| diff --git a/runtime/bin/vmservice_impl.h b/runtime/bin/vmservice_impl.h
|
| index f499abfd41b67abea619ff086e0d49a19fdb205e..54ed51dc814957c08712fe3ade6fd05f722b4282 100644
|
| --- a/runtime/bin/vmservice_impl.h
|
| +++ b/runtime/bin/vmservice_impl.h
|
| @@ -24,21 +24,16 @@ class VmService {
|
| // Error message if startup failed.
|
| static const char* GetErrorMessage();
|
|
|
| - // HTTP server's IP.
|
| - static const char* GetServerIP() {
|
| - return &server_ip_[0];
|
| - }
|
| -
|
| - // HTTP server's port.
|
| - static intptr_t GetServerPort() {
|
| - return server_port_;
|
| + // HTTP Server's address.
|
| + static const char* GetServerAddress() {
|
| + return &server_uri_[0];
|
| }
|
|
|
| private:
|
| - static const intptr_t kServerIpStringBufferSize = 256;
|
| + static const intptr_t kServerUriStringBufferSize = 1024;
|
| friend void NotifyServerState(Dart_NativeArguments args);
|
|
|
| - static void SetServerIPAndPort(const char* ip, intptr_t port);
|
| + static void SetServerAddress(const char* server_uri_);
|
| static Dart_Handle GetSource(const char* name);
|
| static Dart_Handle LoadScript(const char* name);
|
| static Dart_Handle LoadLibrary(const char* name);
|
| @@ -49,8 +44,7 @@ class VmService {
|
| Dart_Handle url);
|
|
|
| static const char* error_msg_;
|
| - static char server_ip_[kServerIpStringBufferSize];
|
| - static intptr_t server_port_;
|
| + static char server_uri_[kServerUriStringBufferSize];
|
|
|
| DISALLOW_ALLOCATION();
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(VmService);
|
|
|