--- chrome/browser/sync/notifier/communicator/ssl_socket_adapter.h +++ chrome/browser/sync/notifier/communicator/ssl_socket_adapter.h @@ -42,7 +42,7 @@ class TransportSocket : public net::ClientSocket, public sigslot::has_slots<> { virtual bool IsConnected() const; virtual bool IsConnectedAndIdle() const; -#if defined(OS_LINUX) || defined(OS_MACOSX) +#if defined(OS_POSIX) virtual int GetPeerName(struct sockaddr *name, socklen_t *namelen); #endif diff --git chrome/browser/sync/notifier/communicator/xmpp_socket_adapter.cc chrome/browser/sync/notifier/communicator/xmpp_socket_adapter.cc index b7a3602..1a25838 100644