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 bool ready_to_send) { | 398 int last_sent_packet_id, |
| 399 bool ready_to_send) { |
399 ASSERT(channel == channel_.get()); | 400 ASSERT(channel == channel_.get()); |
400 SignalSelectedCandidatePairChanged(this, selected_candidate_pair, | 401 SignalSelectedCandidatePairChanged(this, selected_candidate_pair, |
401 last_sent_packet_id, ready_to_send); | 402 last_sent_packet_id, ready_to_send); |
402 } | 403 } |
403 | 404 |
404 void QuicTransportChannel::OnChannelStateChanged( | 405 void QuicTransportChannel::OnChannelStateChanged( |
405 TransportChannelImpl* channel) { | 406 TransportChannelImpl* channel) { |
406 ASSERT(channel == channel_.get()); | 407 ASSERT(channel == channel_.get()); |
407 SignalStateChanged(this); | 408 SignalStateChanged(this); |
408 } | 409 } |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 return quic_->CreateOutgoingDynamicStream(priority); | 589 return quic_->CreateOutgoingDynamicStream(priority); |
589 } | 590 } |
590 return nullptr; | 591 return nullptr; |
591 } | 592 } |
592 | 593 |
593 void QuicTransportChannel::OnIncomingStream(ReliableQuicStream* stream) { | 594 void QuicTransportChannel::OnIncomingStream(ReliableQuicStream* stream) { |
594 SignalIncomingStream(stream); | 595 SignalIncomingStream(stream); |
595 } | 596 } |
596 | 597 |
597 } // namespace cricket | 598 } // namespace cricket |
OLD | NEW |