| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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); |
| 228 void OnSelectedCandidatePairChanged( |
| 229 TransportChannel* channel, |
| 230 CandidatePairInterface* selected_candidate_pair); |
| 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 Loading... |
| 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_ |
| OLD | NEW |