diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-30 20:16:29 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-30 20:16:29 +0000 |
commit | 4dcdb14d4d5a69bed1dd9bbaa84389ef5a078737 (patch) | |
tree | a1de6c21540f352b8b24a2a7ca61886a71c74440 /net/socket/tcp_client_socket_libevent.h | |
parent | cd70bdff829e7587d889824841f808425772a29e (diff) | |
download | chromium_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_libevent.h')
-rw-r--r-- | net/socket/tcp_client_socket_libevent.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/socket/tcp_client_socket_libevent.h b/net/socket/tcp_client_socket_libevent.h index 10b1c31..b054805 100644 --- a/net/socket/tcp_client_socket_libevent.h +++ b/net/socket/tcp_client_socket_libevent.h @@ -5,8 +5,6 @@ #ifndef NET_SOCKET_TCP_CLIENT_SOCKET_LIBEVENT_H_ #define NET_SOCKET_TCP_CLIENT_SOCKET_LIBEVENT_H_ -#include <sys/socket.h> // for struct sockaddr - #include "base/message_loop.h" #include "base/ref_counted.h" #include "base/scoped_ptr.h" @@ -35,7 +33,7 @@ class TCPClientSocketLibevent : public ClientSocket { virtual void Disconnect(); virtual bool IsConnected() const; virtual bool IsConnectedAndIdle() const; - virtual int GetPeerName(struct sockaddr *name, socklen_t *namelen); + virtual int GetPeerName(struct sockaddr* name, socklen_t* namelen); // Socket methods: // Multiple outstanding requests are not supported. |