| Index: webrtc/p2p/quic/quictransportchannel.cc
|
| diff --git a/webrtc/p2p/quic/quictransportchannel.cc b/webrtc/p2p/quic/quictransportchannel.cc
|
| index eae936ba53fa7fe3587a1f43a0251d2106158bcf..4afa240c02e91d179bce9c0523eb9792d080d077 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_->SignalNetworkChanged.connect(
|
| + this, &QuicTransportChannel::OnNetworkChanged);
|
| channel_->SignalConnectionRemoved.connect(
|
| this, &QuicTransportChannel::OnConnectionRemoved);
|
| channel_->SignalReceivingState.connect(
|
| @@ -382,6 +384,13 @@ void QuicTransportChannel::OnRouteChange(TransportChannel* channel,
|
| SignalRouteChange(this, candidate);
|
| }
|
|
|
| +void QuicTransportChannel::OnNetworkChanged(TransportChannel* channel,
|
| + int local_network_id,
|
| + int remote_network_id) {
|
| + ASSERT(channel == channel_);
|
| + SignalNetworkChanged(this, local_network_id, remote_network_id);
|
| +}
|
| +
|
| void QuicTransportChannel::OnConnectionRemoved(TransportChannelImpl* channel) {
|
| ASSERT(channel == channel_);
|
| SignalConnectionRemoved(this);
|
|
|