summaryrefslogtreecommitdiffstats
path: root/net/tools
diff options
context:
space:
mode:
Diffstat (limited to 'net/tools')
-rw-r--r--net/tools/fetch/http_listen_socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/tools/fetch/http_listen_socket.h b/net/tools/fetch/http_listen_socket.h
index bb6d383..73f09f6 100644
--- a/net/tools/fetch/http_listen_socket.h
+++ b/net/tools/fetch/http_listen_socket.h
@@ -19,6 +19,9 @@ class HttpListenSocket : public ListenSocket,
public:
virtual void OnRequest(HttpListenSocket* connection,
HttpServerRequestInfo* info) = 0;
+
+ protected:
+ virtual ~Delegate() {}
};
static HttpListenSocket* Listen(const std::string& ip, int port,