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

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: 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
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..6424cb19a5d4fc528192b5b0ac283b0fc6a6d830 100644
--- a/remoting/protocol/connection_to_client.cc
+++ b/remoting/protocol/connection_to_client.cc
@@ -135,8 +135,9 @@ 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& end_point,
Sergey Ulanov 2012/02/02 01:10:23 nit: s/end_point/remote_end_point/ nit: move the s
Lambros 2012/02/02 01:48:12 Done.
+ const net::IPEndPoint& local_end_point) {
+ handler_->OnClientIpAddress(this, channel_name, end_point, local_end_point);
}
void ConnectionToClient::OnChannelInitialized(bool successful) {

Powered by Google App Engine
This is Rietveld 408576698