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

Unified Diff: remoting/protocol/jingle_session.cc

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/connection_to_client.cc ('k') | remoting/protocol/protocol_mock_objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session.cc
diff --git a/remoting/protocol/jingle_session.cc b/remoting/protocol/jingle_session.cc
index a7d417e6687e182afdeaec63303e21e2c43466e4..ae449401540de8ef477968c6744fc7ccf0b655bc 100644
--- a/remoting/protocol/jingle_session.cc
+++ b/remoting/protocol/jingle_session.cc
@@ -259,10 +259,8 @@ void JingleSession::OnTransportCandidate(Transport* transport,
void JingleSession::OnTransportRouteChange(Transport* transport,
const TransportRoute& route) {
- if (!route_change_callback_.is_null()) {
- route_change_callback_.Run(transport->name(), route.remote_address,
- route.local_address);
- }
+ if (!route_change_callback_.is_null())
+ route_change_callback_.Run(transport->name(), route);
}
void JingleSession::OnTransportDeleted(Transport* transport) {
« no previous file with comments | « remoting/protocol/connection_to_client.cc ('k') | remoting/protocol/protocol_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698