| 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) {
|
| +}
|
| +
|
| +TCPListenSocketFactory::~TCPListenSocketFactory() {}
|
| +
|
| +scoped_refptr<StreamListenSocket> TCPListenSocketFactory::CreateAndListen(
|
| + StreamListenSocket::Delegate* delegate) {
|
| + return TCPListenSocket::CreateAndListen(ip_, port_, delegate);
|
| +}
|
| +
|
| } // namespace net
|
|
|