| Index: net/socket/tcp_listen_socket_unittest.h
|
| diff --git a/net/socket/tcp_listen_socket_unittest.h b/net/socket/tcp_listen_socket_unittest.h
|
| index 048a018670573c69611b26ccc4f7cc6a47fb542d..2152ddaf722fb8f15c4100f9a2f4ec2efcd640f0 100644
|
| --- a/net/socket/tcp_listen_socket_unittest.h
|
| +++ b/net/socket/tcp_listen_socket_unittest.h
|
| @@ -91,15 +91,15 @@ class TCPListenSocketTester :
|
|
|
| // StreamListenSocket::Delegate:
|
| virtual void DidAccept(StreamListenSocket* server,
|
| - StreamListenSocket* connection) OVERRIDE;
|
| + scoped_ptr<StreamListenSocket> connection) OVERRIDE;
|
| virtual void DidRead(StreamListenSocket* connection, const char* data,
|
| int len) OVERRIDE;
|
| virtual void DidClose(StreamListenSocket* sock) OVERRIDE;
|
|
|
| scoped_ptr<base::Thread> thread_;
|
| base::MessageLoopForIO* loop_;
|
| - scoped_refptr<TCPListenSocket> server_;
|
| - StreamListenSocket* connection_;
|
| + scoped_ptr<TCPListenSocket> server_;
|
| + scoped_ptr<StreamListenSocket> connection_;
|
| TCPListenSocketTestAction last_action_;
|
|
|
| SocketDescriptor test_socket_;
|
| @@ -114,7 +114,7 @@ class TCPListenSocketTester :
|
|
|
| virtual ~TCPListenSocketTester();
|
|
|
| - virtual scoped_refptr<TCPListenSocket> DoListen();
|
| + virtual scoped_ptr<TCPListenSocket> DoListen();
|
| };
|
|
|
| } // namespace net
|
|
|