summaryrefslogtreecommitdiffstats
path: root/net/socket/tcp_client_socket_win.h
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-30 20:16:29 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-30 20:16:29 +0000
commit4dcdb14d4d5a69bed1dd9bbaa84389ef5a078737 (patch)
treea1de6c21540f352b8b24a2a7ca61886a71c74440 /net/socket/tcp_client_socket_win.h
parentcd70bdff829e7587d889824841f808425772a29e (diff)
downloadchromium_src-4dcdb14d4d5a69bed1dd9bbaa84389ef5a078737.zip
chromium_src-4dcdb14d4d5a69bed1dd9bbaa84389ef5a078737.tar.gz
chromium_src-4dcdb14d4d5a69bed1dd9bbaa84389ef5a078737.tar.bz2
Define the GetPeerName method of the ClientSocket interface for all
platforms, in preparation for using SSLClientSocketNSS on Windows. nss_memio.c does not need to include <unistd.h> Fix style nits. R=eroman BUG=28744 TEST=none Review URL: http://codereview.chromium.org/440031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33319 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/tcp_client_socket_win.h')
-rw-r--r--net/socket/tcp_client_socket_win.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/socket/tcp_client_socket_win.h b/net/socket/tcp_client_socket_win.h
index 032f1a6..9ad1632 100644
--- a/net/socket/tcp_client_socket_win.h
+++ b/net/socket/tcp_client_socket_win.h
@@ -5,8 +5,6 @@
#ifndef NET_SOCKET_TCP_CLIENT_SOCKET_WIN_H_
#define NET_SOCKET_TCP_CLIENT_SOCKET_WIN_H_
-#include <ws2tcpip.h>
-
#include "base/object_watcher.h"
#include "net/base/address_list.h"
#include "net/base/completion_callback.h"
@@ -30,6 +28,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);
// Socket methods:
// Multiple outstanding requests are not supported.