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

Unified Diff: remoting/host/client_session.h

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: s/IpAddress/RouteChange s/end_point/remote_end_point and other nits 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 | « remoting/host/chromoting_host.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.h
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index 98f6cf8a593ea40ab8714fe79382d21a5113d4b7..44607c47b1bed2f308a89d77d844ae0804f13862 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -49,9 +49,11 @@ class ClientSession : public protocol::HostStub,
// Called on notification of a route change event, when a channel is
// connected.
- virtual void OnSessionIpAddress(ClientSession* client,
- const std::string& channel_name,
- const net::IPEndPoint& end_point) = 0;
+ virtual void OnSessionRouteChange(
+ ClientSession* client,
+ const std::string& channel_name,
+ const net::IPEndPoint& remote_end_point,
+ const net::IPEndPoint& local_end_point) = 0;
};
// Takes ownership of |connection|. Does not take ownership of
@@ -75,9 +77,11 @@ class ClientSession : public protocol::HostStub,
protocol::Session::Error error) OVERRIDE;
virtual void OnSequenceNumberUpdated(
protocol::ConnectionToClient* connection, int64 sequence_number) OVERRIDE;
- virtual void OnClientIpAddress(protocol::ConnectionToClient* connection,
- const std::string& channel_name,
- const net::IPEndPoint& end_point) OVERRIDE;
+ virtual void OnRouteChange(
+ protocol::ConnectionToClient* connection,
+ const std::string& channel_name,
+ const net::IPEndPoint& remote_end_point,
+ const net::IPEndPoint& local_end_point) OVERRIDE;
// Disconnects the session and destroys the transport. Event handler
// is guaranteed not to be called after this method is called. Can
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698