| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 | 388 |
| 389 void QuicTransportChannel::OnRouteChange(TransportChannel* channel, | 389 void QuicTransportChannel::OnRouteChange(TransportChannel* channel, |
| 390 const Candidate& candidate) { | 390 const Candidate& candidate) { |
| 391 ASSERT(channel == channel_.get()); | 391 ASSERT(channel == channel_.get()); |
| 392 SignalRouteChange(this, candidate); | 392 SignalRouteChange(this, candidate); |
| 393 } | 393 } |
| 394 | 394 |
| 395 void QuicTransportChannel::OnSelectedCandidatePairChanged( | 395 void QuicTransportChannel::OnSelectedCandidatePairChanged( |
| 396 TransportChannel* channel, | 396 TransportChannel* channel, |
| 397 CandidatePairInterface* selected_candidate_pair, | 397 CandidatePairInterface* selected_candidate_pair, |
| 398 int last_sent_packet_id) { | 398 int last_sent_packet_id bool ready_to_send) { |
| 399 ASSERT(channel == channel_.get()); | 399 ASSERT(channel == channel_.get()); |
| 400 SignalSelectedCandidatePairChanged(this, selected_candidate_pair, | 400 SignalSelectedCandidatePairChanged(this, selected_candidate_pair, |
| 401 last_sent_packet_id); | 401 last_sent_packet_id, ready_to_send); |
| 402 } | 402 } |
| 403 | 403 |
| 404 void QuicTransportChannel::OnChannelStateChanged( | 404 void QuicTransportChannel::OnChannelStateChanged( |
| 405 TransportChannelImpl* channel) { | 405 TransportChannelImpl* channel) { |
| 406 ASSERT(channel == channel_.get()); | 406 ASSERT(channel == channel_.get()); |
| 407 SignalStateChanged(this); | 407 SignalStateChanged(this); |
| 408 } | 408 } |
| 409 | 409 |
| 410 bool QuicTransportChannel::MaybeStartQuic() { | 410 bool QuicTransportChannel::MaybeStartQuic() { |
| 411 if (!channel_->writable()) { | 411 if (!channel_->writable()) { |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 return quic_->CreateOutgoingDynamicStream(priority); | 588 return quic_->CreateOutgoingDynamicStream(priority); |
| 589 } | 589 } |
| 590 return nullptr; | 590 return nullptr; |
| 591 } | 591 } |
| 592 | 592 |
| 593 void QuicTransportChannel::OnIncomingStream(ReliableQuicStream* stream) { | 593 void QuicTransportChannel::OnIncomingStream(ReliableQuicStream* stream) { |
| 594 SignalIncomingStream(stream); | 594 SignalIncomingStream(stream); |
| 595 } | 595 } |
| 596 | 596 |
| 597 } // namespace cricket | 597 } // namespace cricket |
| OLD | NEW |