summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/jingle_session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/protocol/jingle_session.cc')
-rw-r--r--remoting/protocol/jingle_session.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/protocol/jingle_session.cc b/remoting/protocol/jingle_session.cc
index b5fe2a9..814e09f 100644
--- a/remoting/protocol/jingle_session.cc
+++ b/remoting/protocol/jingle_session.cc
@@ -254,6 +254,11 @@ void JingleSession::OnTransportRouteChange(Transport* transport,
event_handler_->OnSessionRouteChange(transport->name(), route);
}
+void JingleSession::OnTransportReady(Transport* transport, bool ready) {
+ if (event_handler_)
+ event_handler_->OnSessionChannelReady(transport->name(), ready);
+}
+
void JingleSession::OnTransportDeleted(Transport* transport) {
ChannelsMap::iterator it = channels_.find(transport->name());
DCHECK_EQ(it->second, transport);