Chromium Code Reviews| Index: net/base/tcp_listen_socket.cc |
| diff --git a/net/base/tcp_listen_socket.cc b/net/base/tcp_listen_socket.cc |
| index 6d9b1834f3b4eb4b62bedba671024f4f620eb58b..8adbda18024a97ed8f2fcb7b6b384bf1142182da 100644 |
| --- a/net/base/tcp_listen_socket.cc |
| +++ b/net/base/tcp_listen_socket.cc |
| @@ -84,4 +84,16 @@ void TCPListenSocket::Accept() { |
| socket_delegate_->DidAccept(this, sock); |
| } |
| +TCPListenSocketFactory::TCPListenSocketFactory(const string& ip, int port) : |
| + ip_(ip), |
| + port_(port) { |
|
mmenke
2012/05/14 20:45:19
nit: Colon should go on next line, and should be
Philippe
2012/05/15 14:39:09
Done.
|
| +} |
| + |
| +TCPListenSocketFactory::~TCPListenSocketFactory() {} |
| + |
| +scoped_refptr<StreamListenSocket> TCPListenSocketFactory::CreateAndListen( |
| + StreamListenSocket::Delegate* delegate) { |
| + return TCPListenSocket::CreateAndListen(ip_, port_, delegate); |
| +} |
| + |
| } // namespace net |