| Index: net/socket/tcp_client_socket_win.h
|
| diff --git a/net/socket/tcp_client_socket_win.h b/net/socket/tcp_client_socket_win.h
|
| index 9ad163274a7a45ce876ef4d4bc2e4c8dfe8287f5..6acfa8e6804bfbce3809157faf86857fdda78497 100644
|
| --- a/net/socket/tcp_client_socket_win.h
|
| +++ b/net/socket/tcp_client_socket_win.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef NET_SOCKET_TCP_CLIENT_SOCKET_WIN_H_
|
| #define NET_SOCKET_TCP_CLIENT_SOCKET_WIN_H_
|
|
|
| +#include <winsock2.h>
|
| +
|
| #include "base/object_watcher.h"
|
| #include "net/base/address_list.h"
|
| #include "net/base/completion_callback.h"
|
| @@ -28,7 +30,7 @@ class TCPClientSocketWin : public ClientSocket {
|
| virtual void Disconnect();
|
| virtual bool IsConnected() const;
|
| virtual bool IsConnectedAndIdle() const;
|
| - virtual int GetPeerName(struct sockaddr* name, socklen_t* namelen);
|
| + virtual int GetPeerAddress(AddressList* address) const;
|
|
|
| // Socket methods:
|
| // Multiple outstanding requests are not supported.
|
|
|