Log IP/port of host as well as client in Me2Me host
BUG=112327
TEST=Manual
Review URL: http://codereview.chromium.org/9316052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120159 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index 140f4c5..7989e094 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -125,12 +125,15 @@
event_handler_->OnSessionSequenceNumber(this, sequence_number);
}
-void ClientSession::OnClientIpAddress(protocol::ConnectionToClient* connection,
- const std::string& channel_name,
- const net::IPEndPoint& end_point) {
+void ClientSession::OnRouteChange(
+ protocol::ConnectionToClient* connection,
+ const std::string& channel_name,
+ const net::IPEndPoint& remote_end_point,
+ const net::IPEndPoint& local_end_point) {
DCHECK(CalledOnValidThread());
DCHECK_EQ(connection_.get(), connection);
- event_handler_->OnSessionIpAddress(this, channel_name, end_point);
+ event_handler_->OnSessionRouteChange(this, channel_name, remote_end_point,
+ local_end_point);
}
void ClientSession::Disconnect() {