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

Unified Diff: remoting/host/plugin/host_script_object.h

Issue 9288040: Log client IP addresses to syslog 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/plugin/host_script_object.h
diff --git a/remoting/host/plugin/host_script_object.h b/remoting/host/plugin/host_script_object.h
index 83e7fcfbb8bf9291f537287d8c5229e39c444ffc..c9d38795d59e3783c71498abaef48f5163f064b8 100644
--- a/remoting/host/plugin/host_script_object.h
+++ b/remoting/host/plugin/host_script_object.h
@@ -72,6 +72,9 @@ class HostNPScriptObject : public HostStatusObserver {
virtual void OnAccessDenied(const std::string& jid) OVERRIDE;
virtual void OnClientAuthenticated(const std::string& jid) OVERRIDE;
virtual void OnClientDisconnected(const std::string& jid) OVERRIDE;
+ virtual void OnClientIpAddress(const std::string& jid,
+ const std::string& channel_name,
+ const net::IPEndPoint& end_point) OVERRIDE;
virtual void OnShutdown() OVERRIDE;
// Post LogDebugInfo to the correct proxy (and thus, on the correct thread).

Powered by Google App Engine
This is Rietveld 408576698