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() { |