Index: webrtc/p2p/quic/quictransportchannel.cc |
diff --git a/webrtc/p2p/quic/quictransportchannel.cc b/webrtc/p2p/quic/quictransportchannel.cc |
index eae936ba53fa7fe3587a1f43a0251d2106158bcf..d0d6796cab4fb8fa96d4dbe310af171ddad52152 100644 |
--- a/webrtc/p2p/quic/quictransportchannel.cc |
+++ b/webrtc/p2p/quic/quictransportchannel.cc |
@@ -139,6 +139,8 @@ QuicTransportChannel::QuicTransportChannel(TransportChannelImpl* channel) |
&QuicTransportChannel::OnRoleConflict); |
channel_->SignalRouteChange.connect(this, |
&QuicTransportChannel::OnRouteChange); |
+ channel_->SignalSelectedCandidatePairChanged.connect( |
+ this, &QuicTransportChannel::OnSelectedCandidatePairChanged); |
channel_->SignalConnectionRemoved.connect( |
this, &QuicTransportChannel::OnConnectionRemoved); |
channel_->SignalReceivingState.connect( |
@@ -382,6 +384,13 @@ void QuicTransportChannel::OnRouteChange(TransportChannel* channel, |
SignalRouteChange(this, candidate); |
} |
+void QuicTransportChannel::OnSelectedCandidatePairChanged( |
+ TransportChannel* channel, |
+ CandidatePairInterface* selected_candidate_pair) { |
+ ASSERT(channel == channel_); |
+ SignalSelectedCandidatePairChanged(this, selected_candidate_pair); |
+} |
+ |
void QuicTransportChannel::OnConnectionRemoved(TransportChannelImpl* channel) { |
ASSERT(channel == channel_); |
SignalConnectionRemoved(this); |