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

Unified Diff: remoting/protocol/fake_session.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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« net/spdy/spdy_http_stream.cc ('K') | « remoting/protocol/fake_session.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/fake_session.cc
diff --git a/remoting/protocol/fake_session.cc b/remoting/protocol/fake_session.cc
index 8f71795743cbedba95df68ae380f41c37add081a..590b83b61ac9cb0f7b48746e2afcf76b2dc7db32 100644
--- a/remoting/protocol/fake_session.cc
+++ b/remoting/protocol/fake_session.cc
@@ -113,15 +113,14 @@ bool FakeSocket::IsConnectedAndIdle() const {
return false;
}
-int FakeSocket::GetPeerAddress(net::AddressList* address) const {
+int FakeSocket::GetPeerAddress(net::IPEndPoint* address) const {
net::IPAddressNumber ip;
ip.resize(net::kIPv4AddressSize);
szym 2012/06/07 02:42:47 Put this in the constructor: net::IPAddressNumber
- *address = net::AddressList::CreateFromIPAddress(ip, 0);
+ *address = net::IPEndPoint(ip, 0);
return net::OK;
}
-int FakeSocket::GetLocalAddress(
- net::IPEndPoint* address) const {
+int FakeSocket::GetLocalAddress(net::IPEndPoint* address) const {
szym 2012/06/07 02:42:47 Thanks!
NOTIMPLEMENTED();
return net::ERR_FAILED;
}
« net/spdy/spdy_http_stream.cc ('K') | « remoting/protocol/fake_session.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698