diff options
Diffstat (limited to 'net/test/test_server.h')
-rw-r--r-- | net/test/test_server.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/test/test_server.h b/net/test/test_server.h index 4e68fd9..2ee801e 100644 --- a/net/test/test_server.h +++ b/net/test/test_server.h @@ -53,7 +53,7 @@ class TestServer { bool Stop(); const FilePath& document_root() const { return document_root_; } - const HostPortPair& host_port_pair() const { return host_port_pair_; } + const HostPortPair& host_port_pair() const; std::string GetScheme() const; bool GetAddressList(AddressList* address_list) const WARN_UNUSED_RESULT; @@ -121,6 +121,9 @@ class TestServer { Type type_; + // Has the server been started? + bool started_; + DISALLOW_COPY_AND_ASSIGN(TestServer); }; |