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

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

Issue 1886623002: Add QuicDataChannel and QuicDataTransport classes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Make QuicDataChannel::Message public so QuicDataTransport can use it for handling messages Created 4 years, 7 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 // random number generation. 283 // random number generation.
284 QuicConnectionHelper helper_; 284 QuicConnectionHelper helper_;
285 // This peer's role in the QUIC crypto handshake. SSL_CLIENT implies this peer 285 // This peer's role in the QUIC crypto handshake. SSL_CLIENT implies this peer
286 // initiates the handshake, while SSL_SERVER implies the remote peer initiates 286 // initiates the handshake, while SSL_SERVER implies the remote peer initiates
287 // the handshake. This must be set before we start QUIC. 287 // the handshake. This must be set before we start QUIC.
288 rtc::Optional<rtc::SSLRole> ssl_role_; 288 rtc::Optional<rtc::SSLRole> ssl_role_;
289 // Config for QUIC crypto client stream, used when |ssl_role_| is SSL_CLIENT. 289 // Config for QUIC crypto client stream, used when |ssl_role_| is SSL_CLIENT.
290 rtc::scoped_ptr<net::QuicCryptoClientConfig> quic_crypto_client_config_; 290 rtc::scoped_ptr<net::QuicCryptoClientConfig> quic_crypto_client_config_;
291 // Config for QUIC crypto server stream, used when |ssl_role_| is SSL_SERVER. 291 // Config for QUIC crypto server stream, used when |ssl_role_| is SSL_SERVER.
292 rtc::scoped_ptr<net::QuicCryptoServerConfig> quic_crypto_server_config_; 292 rtc::scoped_ptr<net::QuicCryptoServerConfig> quic_crypto_server_config_;
293 // Used by QUIC crypto server stream to track most recently compressed certs.
294 rtc::scoped_ptr<net::QuicCompressedCertsCache> quic_compressed_certs_cache_;
293 // This peer's certificate. 295 // This peer's certificate.
294 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; 296 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_;
295 // Fingerprint of the remote peer. This must be set before we start QUIC. 297 // Fingerprint of the remote peer. This must be set before we start QUIC.
296 rtc::Optional<RemoteFingerprint> remote_fingerprint_; 298 rtc::Optional<RemoteFingerprint> remote_fingerprint_;
297 299
298 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); 300 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel);
299 }; 301 };
300 302
301 } // namespace cricket 303 } // namespace cricket
302 304
303 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ 305 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698