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

Unified Diff: remoting/host/chromoting_host.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/chromoting_host.cc
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index 6821e75f74f66d75b2cd3f29d9bb6b68043ea683..749e756737d5cc46641902fab5f2e75f2548aeec 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -225,13 +225,15 @@ void ChromotingHost::OnSessionSequenceNumber(ClientSession* session,
recorder_->UpdateSequenceNumber(sequence_number);
}
-void ChromotingHost::OnSessionIpAddress(ClientSession* session,
- const std::string& channel_name,
- const net::IPEndPoint& end_point) {
+void ChromotingHost::OnSessionIpAddress(
+ ClientSession* session,
+ const std::string& channel_name,
+ const net::IPEndPoint& end_point,
+ const net::IPEndPoint& local_end_point) {
DCHECK(context_->network_message_loop()->BelongsToCurrentThread());
FOR_EACH_OBSERVER(HostStatusObserver, status_observers_,
OnClientIpAddress(session->client_jid(), channel_name,
- end_point));
+ end_point, local_end_point));
}
void ChromotingHost::OnSessionManagerReady() {

Powered by Google App Engine
This is Rietveld 408576698