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

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: 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/client_session.h
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index 98f6cf8a593ea40ab8714fe79382d21a5113d4b7..e3d090a2176d59ca50dac9d86a1cb9360a6b9364 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -51,7 +51,8 @@ class ClientSession : public protocol::HostStub,
// connected.
virtual void OnSessionIpAddress(ClientSession* client,
Sergey Ulanov 2012/02/02 01:10:23 Rename to OnSessionRouteChange?
Lambros 2012/02/02 01:48:12 Done.
const std::string& channel_name,
- const net::IPEndPoint& end_point) = 0;
+ const net::IPEndPoint& end_point,
+ const net::IPEndPoint& local_end_point) = 0;
};
// Takes ownership of |connection|. Does not take ownership of
@@ -75,9 +76,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 OnClientIpAddress(
+ protocol::ConnectionToClient* connection,
+ const std::string& channel_name,
+ const net::IPEndPoint& 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

Powered by Google App Engine
This is Rietveld 408576698