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

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

Issue 1803063004: Reset the BWE when the network changes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 4 years, 9 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
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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 size_t size, 217 size_t size,
218 const rtc::PacketTime& packet_time, 218 const rtc::PacketTime& packet_time,
219 int flags); 219 int flags);
220 void OnSentPacket(TransportChannel* channel, 220 void OnSentPacket(TransportChannel* channel,
221 const rtc::SentPacket& sent_packet); 221 const rtc::SentPacket& sent_packet);
222 void OnReadyToSend(TransportChannel* channel); 222 void OnReadyToSend(TransportChannel* channel);
223 void OnReceivingState(TransportChannel* channel); 223 void OnReceivingState(TransportChannel* channel);
224 void OnGatheringState(TransportChannelImpl* channel); 224 void OnGatheringState(TransportChannelImpl* channel);
225 void OnCandidateGathered(TransportChannelImpl* channel, const Candidate& c); 225 void OnCandidateGathered(TransportChannelImpl* channel, const Candidate& c);
226 void OnRoleConflict(TransportChannelImpl* channel); 226 void OnRoleConflict(TransportChannelImpl* channel);
227 void OnRouteChange(TransportChannel* channel, const Candidate& candidate); 227 void OnRouteChange(TransportChannel* channel, const Candidate& candidate);
pthatcher1 2016/03/16 21:22:03 Can you mark this one as deprecated and something
honghaiz3 2016/03/17 03:38:27 I marked the SignalRouteChange to be deprecated.
228 void OnNetworkChanged(TransportChannel* channel,
229 int local_network_id,
230 int remote_network_id);
228 void OnConnectionRemoved(TransportChannelImpl* channel); 231 void OnConnectionRemoved(TransportChannelImpl* channel);
229 232
230 // Callbacks for |quic_|. 233 // Callbacks for |quic_|.
231 // Called when |quic_| has established the crypto handshake. 234 // Called when |quic_| has established the crypto handshake.
232 void OnHandshakeComplete(); 235 void OnHandshakeComplete();
233 // Called when |quic_| has closed the connection. 236 // Called when |quic_| has closed the connection.
234 void OnConnectionClosed(net::QuicErrorCode error, bool from_peer); 237 void OnConnectionClosed(net::QuicErrorCode error, bool from_peer);
235 238
236 // Called by OnReadPacket() when a QUIC packet is received. 239 // Called by OnReadPacket() when a QUIC packet is received.
237 bool HandleQuicPacket(const char* data, size_t size); 240 bool HandleQuicPacket(const char* data, size_t size);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; 274 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_;
272 // Fingerprint of the remote peer. This must be set before we start QUIC. 275 // Fingerprint of the remote peer. This must be set before we start QUIC.
273 rtc::Optional<RemoteFingerprint> remote_fingerprint_; 276 rtc::Optional<RemoteFingerprint> remote_fingerprint_;
274 277
275 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); 278 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel);
276 }; 279 };
277 280
278 } // namespace cricket 281 } // namespace cricket
279 282
280 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ 283 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698