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

Unified Diff: remoting/protocol/jingle_session.cc

Issue 9366001: Implement support for route change notifications in the Transport interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 10 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 | « jingle/glue/channel_socket_adapter.h ('k') | remoting/protocol/libjingle_transport_factory.cc » ('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 6f856c0c1d9120205412eb2983df559dad3c1259..a1123bec87d10729606e16738b4790891208c48a 100644
--- a/remoting/protocol/jingle_session.cc
+++ b/remoting/protocol/jingle_session.cc
@@ -525,9 +525,10 @@ void JingleSession::OnRouteChange(cricket::TransportChannel* channel,
return;
}
- if (!route_change_callback_.is_null())
+ if (!route_change_callback_.is_null()) {
route_change_callback_.Run(channel->name(), remote_end_point,
local_end_point);
+ }
}
const cricket::ContentInfo* JingleSession::GetContentInfo() const {
« no previous file with comments | « jingle/glue/channel_socket_adapter.h ('k') | remoting/protocol/libjingle_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698