summaryrefslogtreecommitdiffstats
path: root/net/socket/stream_socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/stream_socket.h')
-rw-r--r--net/socket/stream_socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/stream_socket.h b/net/socket/stream_socket.h
index 4d7b7e2..cc3c19e 100644
--- a/net/socket/stream_socket.h
+++ b/net/socket/stream_socket.h
@@ -57,7 +57,7 @@ class NET_EXPORT_PRIVATE StreamSocket : public Socket {
// Copies the peer address to |address| and returns a network error code.
// ERR_SOCKET_NOT_CONNECTED will be returned if the socket is not connected.
// TODO(sergeyu): Use IPEndPoint instead of AddressList.
- virtual int GetPeerAddress(AddressList* address) const = 0;
+ virtual int GetPeerAddress(IPEndPoint* address) const = 0;
// Copies the local address to |address| and returns a network error code.
// ERR_SOCKET_NOT_CONNECTED will be returned if the socket is not connected.