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

Unified Diff: remoting/host/client_session.cc

Issue 9288010: More plumbing for logging connection IP addresses (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 532b825c03317224abb68c158c9d3e8ed81da8b1..06e2dfca1a3567818be2cb56bc865d164523bdca 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -125,6 +125,14 @@ void ClientSession::OnSequenceNumberUpdated(
event_handler_->OnSessionSequenceNumber(this, sequence_number);
}
+void ClientSession::OnClientIpEndPoint(protocol::ConnectionToClient* connection,
+ const std::string& channel_name,
+ const net::IPEndPoint& end_point) {
+ DCHECK(CalledOnValidThread());
+ DCHECK_EQ(connection_.get(), connection);
+ event_handler_->OnSessionIpEndPoint(this, channel_name, end_point);
+}
+
void ClientSession::Disconnect() {
DCHECK(CalledOnValidThread());
DCHECK(connection_.get());

Powered by Google App Engine
This is Rietveld 408576698