Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: webrtc/p2p/quic/quictransportchannel.cc

Issue 2099783002: Fixing bug where Connection drops packets when presumed writable. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Merge with master. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/p2p/quic/quictransportchannel.h ('k') | webrtc/pc/channel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webrtc/p2p/quic/quictransportchannel.h ('k') | webrtc/pc/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698