| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 void OnSentPacket(TransportChannel* channel, | 225 void OnSentPacket(TransportChannel* channel, |
| 226 const rtc::SentPacket& sent_packet); | 226 const rtc::SentPacket& sent_packet); |
| 227 void OnReadyToSend(TransportChannel* channel); | 227 void OnReadyToSend(TransportChannel* channel); |
| 228 void OnReceivingState(TransportChannel* channel); | 228 void OnReceivingState(TransportChannel* channel); |
| 229 void OnGatheringState(TransportChannelImpl* channel); | 229 void OnGatheringState(TransportChannelImpl* channel); |
| 230 void OnCandidateGathered(TransportChannelImpl* channel, const Candidate& c); | 230 void OnCandidateGathered(TransportChannelImpl* channel, const Candidate& c); |
| 231 void OnRoleConflict(TransportChannelImpl* channel); | 231 void OnRoleConflict(TransportChannelImpl* channel); |
| 232 void OnRouteChange(TransportChannel* channel, const Candidate& candidate); | 232 void OnRouteChange(TransportChannel* channel, const Candidate& candidate); |
| 233 void OnSelectedCandidatePairChanged( | 233 void OnSelectedCandidatePairChanged( |
| 234 TransportChannel* channel, | 234 TransportChannel* channel, |
| 235 CandidatePairInterface* selected_candidate_pair); | 235 CandidatePairInterface* selected_candidate_pair, |
| 236 int last_sent_packet_id); |
| 236 void OnConnectionRemoved(TransportChannelImpl* channel); | 237 void OnConnectionRemoved(TransportChannelImpl* channel); |
| 237 | 238 |
| 238 // Callbacks for |quic_|. | 239 // Callbacks for |quic_|. |
| 239 // Called when |quic_| has established the crypto handshake. | 240 // Called when |quic_| has established the crypto handshake. |
| 240 void OnHandshakeComplete(); | 241 void OnHandshakeComplete(); |
| 241 // Called when |quic_| has closed the connection. | 242 // Called when |quic_| has closed the connection. |
| 242 void OnConnectionClosed(net::QuicErrorCode error, bool from_peer); | 243 void OnConnectionClosed(net::QuicErrorCode error, bool from_peer); |
| 243 | 244 |
| 244 // Called by OnReadPacket() when a QUIC packet is received. | 245 // Called by OnReadPacket() when a QUIC packet is received. |
| 245 bool HandleQuicPacket(const char* data, size_t size); | 246 bool HandleQuicPacket(const char* data, size_t size); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; | 280 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; |
| 280 // Fingerprint of the remote peer. This must be set before we start QUIC. | 281 // Fingerprint of the remote peer. This must be set before we start QUIC. |
| 281 rtc::Optional<RemoteFingerprint> remote_fingerprint_; | 282 rtc::Optional<RemoteFingerprint> remote_fingerprint_; |
| 282 | 283 |
| 283 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); | 284 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); |
| 284 }; | 285 }; |
| 285 | 286 |
| 286 } // namespace cricket | 287 } // namespace cricket |
| 287 | 288 |
| 288 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ | 289 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ |
| OLD | NEW |