diff options
author | lambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-02 04:07:52 +0000 |
---|---|---|
committer | lambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-02 04:07:52 +0000 |
commit | 17af2abc53be34c9e5eff2b611d09f69b3e9d409 (patch) | |
tree | 8f6b9002365848ca731d8912db6335a9e07d704f /remoting/host/client_session.h | |
parent | 291b4e8eac584859ec7f909364dda3809f35aee0 (diff) | |
download | chromium_src-17af2abc53be34c9e5eff2b611d09f69b3e9d409.zip chromium_src-17af2abc53be34c9e5eff2b611d09f69b3e9d409.tar.gz chromium_src-17af2abc53be34c9e5eff2b611d09f69b3e9d409.tar.bz2 |
Log IP/port of host as well as client in Me2Me host
BUG=112327
TEST=Manual
Review URL: http://codereview.chromium.org/9316052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/client_session.h')
-rw-r--r-- | remoting/host/client_session.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h index 98f6cf8..44607c4 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 |