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

Unified Diff: net/socket/tcp_client_socket_pool_unittest.cc

Issue 598071: Really connect to the same server in FTP network transaction. (Closed)
Patch Set: updates Created 10 years, 10 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_client_socket_libevent.cc ('k') | net/socket/tcp_client_socket_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/tcp_client_socket_pool_unittest.cc
diff --git a/net/socket/tcp_client_socket_pool_unittest.cc b/net/socket/tcp_client_socket_pool_unittest.cc
index 20a42cbe2b7dcfb6fb19b56798d98ab8e3f5298c..2678848cf8274d106848ca8d161a49d8cfd742e3 100644
--- a/net/socket/tcp_client_socket_pool_unittest.cc
+++ b/net/socket/tcp_client_socket_pool_unittest.cc
@@ -43,7 +43,7 @@ class MockClientSocket : public ClientSocket {
virtual bool IsConnectedAndIdle() const {
return connected_;
}
- virtual int GetPeerName(struct sockaddr* name, socklen_t* namelen) {
+ virtual int GetPeerAddress(AddressList* address) const {
return ERR_UNEXPECTED;
}
@@ -80,7 +80,7 @@ class MockFailingClientSocket : public ClientSocket {
virtual bool IsConnectedAndIdle() const {
return false;
}
- virtual int GetPeerName(struct sockaddr* name, socklen_t* namelen) {
+ virtual int GetPeerAddress(AddressList* address) const {
return ERR_UNEXPECTED;
}
@@ -122,7 +122,7 @@ class MockPendingClientSocket : public ClientSocket {
virtual bool IsConnectedAndIdle() const {
return is_connected_;
}
- virtual int GetPeerName(struct sockaddr* name, socklen_t* namelen) {
+ virtual int GetPeerAddress(AddressList* address) const{
return ERR_UNEXPECTED;
}
« no previous file with comments | « net/socket/tcp_client_socket_libevent.cc ('k') | net/socket/tcp_client_socket_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698