Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1230)

Unified Diff: net/socket/transport_client_socket_pool_unittest.cc

Issue 10491007: fixed issue 128383 - replace GetPeerAddress(AddressList* address) with GetPeerAddress(IPEndPoint* a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix according to review Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/tcp_server_socket_unittest.cc ('k') | net/spdy/spdy_http_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/transport_client_socket_pool_unittest.cc
diff --git a/net/socket/transport_client_socket_pool_unittest.cc b/net/socket/transport_client_socket_pool_unittest.cc
index c335e33d252226219da640b0351902d93eb6eb41..b1fb87a8c455b8bf21c421f031c7a8baab6a26af 100644
--- a/net/socket/transport_client_socket_pool_unittest.cc
+++ b/net/socket/transport_client_socket_pool_unittest.cc
@@ -66,7 +66,7 @@ class MockClientSocket : public StreamSocket {
virtual bool IsConnectedAndIdle() const {
return connected_;
}
- virtual int GetPeerAddress(AddressList* address) const {
+ virtual int GetPeerAddress(IPEndPoint* address) const {
return ERR_UNEXPECTED;
}
virtual int GetLocalAddress(IPEndPoint* address) const {
@@ -129,7 +129,7 @@ class MockFailingClientSocket : public StreamSocket {
virtual bool IsConnectedAndIdle() const {
return false;
}
- virtual int GetPeerAddress(AddressList* address) const {
+ virtual int GetPeerAddress(IPEndPoint* address) const {
return ERR_UNEXPECTED;
}
virtual int GetLocalAddress(IPEndPoint* address) const {
@@ -205,7 +205,7 @@ class MockPendingClientSocket : public StreamSocket {
virtual bool IsConnectedAndIdle() const {
return is_connected_;
}
- virtual int GetPeerAddress(AddressList* address) const {
+ virtual int GetPeerAddress(IPEndPoint* address) const {
return ERR_UNEXPECTED;
}
virtual int GetLocalAddress(IPEndPoint* address) const {
« no previous file with comments | « net/socket/tcp_server_socket_unittest.cc ('k') | net/spdy/spdy_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698