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

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

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/base/turnport_unittest.cc ('k') | webrtc/p2p/quic/quictransportchannel.cc » ('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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 const rtc::SentPacket& sent_packet); 239 const rtc::SentPacket& sent_packet);
240 void OnReadyToSend(TransportChannel* channel); 240 void OnReadyToSend(TransportChannel* channel);
241 void OnReceivingState(TransportChannel* channel); 241 void OnReceivingState(TransportChannel* channel);
242 void OnGatheringState(TransportChannelImpl* channel); 242 void OnGatheringState(TransportChannelImpl* channel);
243 void OnCandidateGathered(TransportChannelImpl* channel, const Candidate& c); 243 void OnCandidateGathered(TransportChannelImpl* channel, const Candidate& c);
244 void OnRoleConflict(TransportChannelImpl* channel); 244 void OnRoleConflict(TransportChannelImpl* channel);
245 void OnRouteChange(TransportChannel* channel, const Candidate& candidate); 245 void OnRouteChange(TransportChannel* channel, const Candidate& candidate);
246 void OnSelectedCandidatePairChanged( 246 void OnSelectedCandidatePairChanged(
247 TransportChannel* channel, 247 TransportChannel* channel,
248 CandidatePairInterface* selected_candidate_pair, 248 CandidatePairInterface* selected_candidate_pair,
249 int last_sent_packet_id); 249 int last_sent_packet_id,
250 bool ready_to_send);
250 void OnChannelStateChanged(TransportChannelImpl* channel); 251 void OnChannelStateChanged(TransportChannelImpl* channel);
251 252
252 // Callbacks for |quic_|. 253 // Callbacks for |quic_|.
253 // Called when |quic_| has established the crypto handshake. 254 // Called when |quic_| has established the crypto handshake.
254 void OnHandshakeComplete(); 255 void OnHandshakeComplete();
255 // Called when |quic_| has closed the connection. 256 // Called when |quic_| has closed the connection.
256 void OnConnectionClosed(net::QuicErrorCode error, bool from_peer); 257 void OnConnectionClosed(net::QuicErrorCode error, bool from_peer);
257 // Called when |quic_| has created a new QUIC stream for incoming data. 258 // Called when |quic_| has created a new QUIC stream for incoming data.
258 void OnIncomingStream(ReliableQuicStream* stream); 259 void OnIncomingStream(ReliableQuicStream* stream);
259 260
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; 298 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_;
298 // Fingerprint of the remote peer. This must be set before we start QUIC. 299 // Fingerprint of the remote peer. This must be set before we start QUIC.
299 rtc::Optional<RemoteFingerprint> remote_fingerprint_; 300 rtc::Optional<RemoteFingerprint> remote_fingerprint_;
300 301
301 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); 302 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel);
302 }; 303 };
303 304
304 } // namespace cricket 305 } // namespace cricket
305 306
306 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ 307 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/turnport_unittest.cc ('k') | webrtc/p2p/quic/quictransportchannel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698