Chromium Code Reviews| Index: net/tools/fetch/http_listen_socket.h |
| diff --git a/net/tools/fetch/http_listen_socket.h b/net/tools/fetch/http_listen_socket.h |
| index 8a09a9e627b151af8b3c3c1ee9ea103e584d3821..2b1684b755ca215ca65d51c8102a08cc0e4836bf 100644 |
| --- a/net/tools/fetch/http_listen_socket.h |
| +++ b/net/tools/fetch/http_listen_socket.h |
| @@ -7,6 +7,7 @@ |
| #pragma once |
| #include "base/message_loop.h" |
| +#include "net/base/listen_socket.h" |
| #include "net/base/tcp_listen_socket.h" |
| class HttpServerRequestInfo; |
| @@ -29,7 +30,6 @@ class HttpListenSocket : public net::TCPListenSocket, |
| HttpListenSocket::Delegate* delegate); |
|
mmenke
2012/04/25 17:25:31
Just so we have a consistent interface, could you
Philippe
2012/04/30 06:55:21
Sure.
|
| virtual void Listen() OVERRIDE; |
| - virtual void Accept() OVERRIDE; |
| // Send a server response. |
| // TODO(mbelshe): make this capable of non-ascii data. |
| @@ -42,6 +42,10 @@ class HttpListenSocket : public net::TCPListenSocket, |
| const char* data, int len) OVERRIDE; |
| virtual void DidClose(net::ListenSocket* sock) OVERRIDE; |
| + protected: |
| + // Overrides TCPListenSocket::AcceptInternal(). |
| + virtual void AcceptInternal() OVERRIDE; |
| + |
| private: |
| friend class base::RefCountedThreadSafe<net::ListenSocket>; |