summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/session.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 22:24:47 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 22:24:47 +0000
commitbe451c8bdb17be34c764150c47844304a94221c5 (patch)
tree85d589d7772d02ef63852351fda8982a5ea6dbff /remoting/protocol/session.h
parentea423a68cc76c7d6133bbfcd6d7630d8e8d29b1a (diff)
downloadchromium_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/session.h')
-rw-r--r--remoting/protocol/session.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/protocol/session.h b/remoting/protocol/session.h
index 6e3ac35..cd586c6 100644
--- a/remoting/protocol/session.h
+++ b/remoting/protocol/session.h
@@ -22,6 +22,8 @@ class StreamSocket;
namespace remoting {
namespace protocol {
+struct TransportRoute;
+
// Generic interface for Chromotocol connection used by both client and host.
// Provides access to the connection channels, but doesn't depend on the
// protocol used for each channel.
@@ -63,8 +65,7 @@ class Session : public base::NonThreadSafe {
// single interface.
typedef base::Callback<void(
const std::string& channel_name,
- const net::IPEndPoint& remote_end_point,
- const net::IPEndPoint& local_end_point)> RouteChangeCallback;
+ const TransportRoute& route)> RouteChangeCallback;
// TODO(sergeyu): Specify connection error code when channel
// connection fails.