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

Unified Diff: remoting/host/client_session.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/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index 140f4c54064cb3b4b5ff2b04f354589b153ea431..034196045f95d9ca6524245caab46cee6a2837ce 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -127,10 +127,12 @@ void ClientSession::OnSequenceNumberUpdated(
void ClientSession::OnClientIpAddress(protocol::ConnectionToClient* connection,
const std::string& channel_name,
- const net::IPEndPoint& end_point) {
+ const net::IPEndPoint& 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_->OnSessionIpAddress(this, channel_name, end_point,
+ local_end_point);
}
void ClientSession::Disconnect() {

Powered by Google App Engine
This is Rietveld 408576698