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; |
} |