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

Unified Diff: remoting/protocol/connection_to_client.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/host_status_observer.h ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_client.h
diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h
index 9a927246dfca3373c634b5d8684bca76091242b3..1f2cd54613de6e6857e7928226711859485d9843 100644
--- a/remoting/protocol/connection_to_client.h
+++ b/remoting/protocol/connection_to_client.h
@@ -53,9 +53,10 @@ class ConnectionToClient : public base::NonThreadSafe {
// Called on notification of a route change event, which happens when a
// channel is connected.
- virtual void OnClientIpAddress(ConnectionToClient* connection,
- const std::string& channel_name,
- const net::IPEndPoint& end_point) = 0;
+ virtual void OnRouteChange(ConnectionToClient* connection,
+ const std::string& channel_name,
+ const net::IPEndPoint& remote_end_point,
+ const net::IPEndPoint& local_end_point) = 0;
};
// Constructs a ConnectionToClient object for the |session|. Takes
@@ -92,7 +93,8 @@ class ConnectionToClient : public base::NonThreadSafe {
void OnSessionStateChange(Session::State state);
void OnSessionRouteChange(const std::string& channel_name,
- const net::IPEndPoint& end_point);
+ const net::IPEndPoint& remote_end_point,
+ const net::IPEndPoint& local_end_point);
// Callback for channel initialization.
void OnChannelInitialized(bool successful);
« no previous file with comments | « remoting/host/host_status_observer.h ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698