diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-20 22:24:47 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-20 22:24:47 +0000 |
commit | be451c8bdb17be34c764150c47844304a94221c5 (patch) | |
tree | 85d589d7772d02ef63852351fda8982a5ea6dbff /remoting/protocol/connection_to_client.h | |
parent | ea423a68cc76c7d6133bbfcd6d7630d8e8d29b1a (diff) | |
download | chromium_src-be451c8bdb17be34c764150c47844304a94221c5.zip chromium_src-be451c8bdb17be34c764150c47844304a94221c5.tar.gz chromium_src-be451c8bdb17be34c764150c47844304a94221c5.tar.bz2 |
Log connection type to syslogs and to the server.
Also updated HostStatusObserver to receive transport route information as
part of the OnClientRouteChange() notification, so that logging code
receives connection type in order to log it.
BUG=96736
Review URL: https://chromiumcodereview.appspot.com/9727005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127814 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/connection_to_client.h')
-rw-r--r-- | remoting/protocol/connection_to_client.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h index 3b2f57e..cde5905 100644 --- a/remoting/protocol/connection_to_client.h +++ b/remoting/protocol/connection_to_client.h @@ -56,8 +56,7 @@ class ConnectionToClient : public base::NonThreadSafe { // channel is connected. virtual void OnRouteChange(ConnectionToClient* connection, const std::string& channel_name, - const net::IPEndPoint& remote_end_point, - const net::IPEndPoint& local_end_point) = 0; + const TransportRoute& route) = 0; }; // Constructs a ConnectionToClient object for the |session|. Takes @@ -95,8 +94,7 @@ class ConnectionToClient : public base::NonThreadSafe { void OnSessionStateChange(Session::State state); void OnSessionRouteChange(const std::string& channel_name, - const net::IPEndPoint& remote_end_point, - const net::IPEndPoint& local_end_point); + const TransportRoute& route); // Callback for channel initialization. void OnChannelInitialized(bool successful); |