Index: remoting/host/host_event_logger.cc |
diff --git a/remoting/host/host_event_logger.cc b/remoting/host/host_event_logger.cc |
index ca8e49a36094e9b6addf5cc7293b6cf9edb159ed..8afd3ade20ab187f3dc1d9b459e87851ed406cbb 100644 |
--- a/remoting/host/host_event_logger.cc |
+++ b/remoting/host/host_event_logger.cc |
@@ -12,6 +12,7 @@ |
#undef LOG_WARNING |
#endif // defined(OS_LINUX) |
+#include "net/base/ip_endpoint.h" |
#include "remoting/host/chromoting_host.h" |
#include "remoting/host/system_event_logger.h" |
@@ -56,6 +57,13 @@ void HostEventLogger::OnAccessDenied(const std::string& jid) { |
Log("Access denied for client: " + jid); |
} |
+void HostEventLogger::OnClientIpAddress(const std::string& jid, |
+ const std::string& channel_name, |
+ const net::IPEndPoint& end_point) { |
+ Log("Channel IP for client: " + jid + " ip='" + end_point.ToString() + |
+ "' channel='" + channel_name + "'"); |
+} |
+ |
void HostEventLogger::OnShutdown() { |
} |