| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 // random number generation. | 285 // random number generation. |
| 286 QuicConnectionHelper helper_; | 286 QuicConnectionHelper helper_; |
| 287 // This peer's role in the QUIC crypto handshake. SSL_CLIENT implies this peer | 287 // This peer's role in the QUIC crypto handshake. SSL_CLIENT implies this peer |
| 288 // initiates the handshake, while SSL_SERVER implies the remote peer initiates | 288 // initiates the handshake, while SSL_SERVER implies the remote peer initiates |
| 289 // the handshake. This must be set before we start QUIC. | 289 // the handshake. This must be set before we start QUIC. |
| 290 rtc::Optional<rtc::SSLRole> ssl_role_; | 290 rtc::Optional<rtc::SSLRole> ssl_role_; |
| 291 // Config for QUIC crypto client stream, used when |ssl_role_| is SSL_CLIENT. | 291 // Config for QUIC crypto client stream, used when |ssl_role_| is SSL_CLIENT. |
| 292 std::unique_ptr<net::QuicCryptoClientConfig> quic_crypto_client_config_; | 292 std::unique_ptr<net::QuicCryptoClientConfig> quic_crypto_client_config_; |
| 293 // Config for QUIC crypto server stream, used when |ssl_role_| is SSL_SERVER. | 293 // Config for QUIC crypto server stream, used when |ssl_role_| is SSL_SERVER. |
| 294 std::unique_ptr<net::QuicCryptoServerConfig> quic_crypto_server_config_; | 294 std::unique_ptr<net::QuicCryptoServerConfig> quic_crypto_server_config_; |
| 295 // Used by QUIC crypto server stream to track most recently compressed certs. |
| 296 std::unique_ptr<net::QuicCompressedCertsCache> quic_compressed_certs_cache_; |
| 295 // This peer's certificate. | 297 // This peer's certificate. |
| 296 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; | 298 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; |
| 297 // 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. |
| 298 rtc::Optional<RemoteFingerprint> remote_fingerprint_; | 300 rtc::Optional<RemoteFingerprint> remote_fingerprint_; |
| 299 | 301 |
| 300 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); | 302 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); |
| 301 }; | 303 }; |
| 302 | 304 |
| 303 } // namespace cricket | 305 } // namespace cricket |
| 304 | 306 |
| 305 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ | 307 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ |
| OLD | NEW |