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

Unified Diff: remoting/protocol/session.h

Issue 9727005: Log connection type to syslogs and to the server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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/protocol/protocol_mock_objects.cc ('k') | remoting/protocol/transport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/session.h
diff --git a/remoting/protocol/session.h b/remoting/protocol/session.h
index 6e3ac356a18b0145e03b2b97ed0ea3af2a688789..cd586c66abcad00221b8090f8a96a62fa4a0063b 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.
« no previous file with comments | « remoting/protocol/protocol_mock_objects.cc ('k') | remoting/protocol/transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698