Chromium Code Reviews

Unified Diff: net/socket/ssl_server_socket_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: PLT Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: net/socket/ssl_server_socket_unittest.cc
diff --git a/net/socket/ssl_server_socket_unittest.cc b/net/socket/ssl_server_socket_unittest.cc
index 806a5985e8125498d2e4027e12aacc01d26eaff1..395f5d56f1dae192bb96b645a90d5cfc99616391 100644
--- a/net/socket/ssl_server_socket_unittest.cc
+++ b/net/socket/ssl_server_socket_unittest.cc
@@ -201,9 +201,9 @@ class FakeSocket : public StreamSocket {
return true;
}
- virtual int GetPeerAddress(AddressList* address) const OVERRIDE {
+ virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE {
net::IPAddressNumber ip_address(4);
szym 2012/06/07 02:42:47 net::kIPv4AddressSize
- *address = net::AddressList::CreateFromIPAddress(ip_address, 0 /*port*/);
+ *address = net::IPEndPoint(ip_address, 0 /*port*/);
return net::OK;
}

Powered by Google App Engine