summaryrefslogtreecommitdiffstats
path: root/net/test/base_test_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/test/base_test_server.h')
-rw-r--r--net/test/base_test_server.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/test/base_test_server.h b/net/test/base_test_server.h
index 38f755d..7264a65 100644
--- a/net/test/base_test_server.h
+++ b/net/test/base_test_server.h
@@ -119,8 +119,6 @@ class BaseTestServer {
// Initialize a HTTPS TestServer with a specific set of HTTPSOptions.
explicit BaseTestServer(const HTTPSOptions& https_options);
- ~BaseTestServer();
-
// Returns the host port pair used by current Python based test server only
// if the server is started.
const HostPortPair& host_port_pair() const;
@@ -145,6 +143,7 @@ class BaseTestServer {
std::string* replacement_path);
protected:
+ virtual ~BaseTestServer();
Type type() const { return type_; }
// Gets port currently assigned to host_port_pair_ without checking