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

Unified Diff: remoting/protocol/connection_to_client.cc

Issue 9316052: Log IP/port of host as well as client in Me2Me host (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/IpAddress/RouteChange s/end_point/remote_end_point and other nits Created 8 years, 11 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 | « remoting/protocol/connection_to_client.h ('k') | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_client.cc
diff --git a/remoting/protocol/connection_to_client.cc b/remoting/protocol/connection_to_client.cc
index ea17201895b9ba347439467332eba312b7f70374..69b16248b0a0c1b126f4d9cdc2a40f870fb50d1e 100644
--- a/remoting/protocol/connection_to_client.cc
+++ b/remoting/protocol/connection_to_client.cc
@@ -135,8 +135,11 @@ void ConnectionToClient::OnSessionStateChange(Session::State state) {
}
void ConnectionToClient::OnSessionRouteChange(
- const std::string& channel_name, const net::IPEndPoint& end_point) {
- handler_->OnClientIpAddress(this, channel_name, end_point);
+ const std::string& channel_name,
+ const net::IPEndPoint& remote_end_point,
+ const net::IPEndPoint& local_end_point) {
+ handler_->OnRouteChange(this, channel_name, remote_end_point,
+ local_end_point);
}
void ConnectionToClient::OnChannelInitialized(bool successful) {
« no previous file with comments | « remoting/protocol/connection_to_client.h ('k') | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698