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

Unified Diff: remoting/host/chromoting_host.cc

Issue 9288040: Log client IP addresses to syslog in Me2Me host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Log full JID instead of just the username 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 | « no previous file | remoting/host/host_event_logger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.cc
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index 0e8561a6719f4e41c6677aa112017fa07c739ab3..6821e75f74f66d75b2cd3f29d9bb6b68043ea683 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -228,8 +228,10 @@ void ChromotingHost::OnSessionSequenceNumber(ClientSession* session,
void ChromotingHost::OnSessionIpAddress(ClientSession* session,
const std::string& channel_name,
const net::IPEndPoint& end_point) {
- // TODO(lambroslambrou): Notify the HostStatusObservers via a new interface
- // method.
+ DCHECK(context_->network_message_loop()->BelongsToCurrentThread());
+ FOR_EACH_OBSERVER(HostStatusObserver, status_observers_,
+ OnClientIpAddress(session->client_jid(), channel_name,
+ end_point));
}
void ChromotingHost::OnSessionManagerReady() {
« no previous file with comments | « no previous file | remoting/host/host_event_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698