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

Unified Diff: remoting/protocol/transport.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/session.h ('k') | remoting/protocol/transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/transport.h
diff --git a/remoting/protocol/transport.h b/remoting/protocol/transport.h
index e892404e5d0f71f5522a8d3a6b16429bcebf1226..47de7de0199b3389cd8137f559e66031753fd94a 100644
--- a/remoting/protocol/transport.h
+++ b/remoting/protocol/transport.h
@@ -52,6 +52,12 @@ struct TransportRoute {
RELAY,
};
+ // Helper method to get string representation of the type.
+ static std::string GetTypeString(RouteType type);
+
+ TransportRoute();
+ ~TransportRoute();
+
RouteType type;
net::IPEndPoint remote_address;
net::IPEndPoint local_address;
« no previous file with comments | « remoting/protocol/session.h ('k') | remoting/protocol/transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698