| Index: net/socket/stream_listen_socket.h
|
| diff --git a/net/socket/stream_listen_socket.h b/net/socket/stream_listen_socket.h
|
| index 90b54500ace17f2f28631f3fa8449e644564f298..813d96a22be8f19dfb3cddb90c8d1f90707e8c6e 100644
|
| --- a/net/socket/stream_listen_socket.h
|
| +++ b/net/socket/stream_listen_socket.h
|
| @@ -72,9 +72,11 @@ class NET_EXPORT StreamListenSocket
|
| void Send(const std::string& str, bool append_linefeed = false);
|
|
|
| // Copies the local address to |address|. Returns a network error code.
|
| - int GetLocalAddress(IPEndPoint* address);
|
| + // This method is virtual to support unit testing.
|
| + virtual int GetLocalAddress(IPEndPoint* address);
|
| // Copies the peer address to |address|. Returns a network error code.
|
| - int GetPeerAddress(IPEndPoint* address);
|
| + // This method is virtual to support unit testing.
|
| + virtual int GetPeerAddress(IPEndPoint* address);
|
|
|
| static const int kSocketError;
|
|
|
|
|