| 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 |
| 11 #ifndef WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ | 11 #ifndef WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ |
| 12 #define WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ | 12 #define WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ |
| 13 | 13 |
| 14 #include <string> | 14 #include <string> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "net/quic/quic_crypto_client_stream.h" | 17 #include "net/quic/quic_crypto_client_stream.h" |
| 18 #include "net/quic/quic_packet_writer.h" | 18 #include "net/quic/quic_packet_writer.h" |
| 19 #include "webrtc/base/constructormagic.h" |
| 19 #include "webrtc/base/optional.h" | 20 #include "webrtc/base/optional.h" |
| 20 #include "webrtc/base/scoped_ptr.h" | 21 #include "webrtc/base/scoped_ptr.h" |
| 21 #include "webrtc/p2p/base/transportchannelimpl.h" | 22 #include "webrtc/p2p/base/transportchannelimpl.h" |
| 22 #include "webrtc/p2p/quic/quicconnectionhelper.h" | 23 #include "webrtc/p2p/quic/quicconnectionhelper.h" |
| 23 #include "webrtc/p2p/quic/quicsession.h" | 24 #include "webrtc/p2p/quic/quicsession.h" |
| 24 | 25 |
| 25 namespace cricket { | 26 namespace cricket { |
| 26 | 27 |
| 27 enum QuicTransportState { | 28 enum QuicTransportState { |
| 28 // Haven't started QUIC handshake. | 29 // Haven't started QUIC handshake. |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; | 295 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; |
| 295 // Fingerprint of the remote peer. This must be set before we start QUIC. | 296 // Fingerprint of the remote peer. This must be set before we start QUIC. |
| 296 rtc::Optional<RemoteFingerprint> remote_fingerprint_; | 297 rtc::Optional<RemoteFingerprint> remote_fingerprint_; |
| 297 | 298 |
| 298 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); | 299 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); |
| 299 }; | 300 }; |
| 300 | 301 |
| 301 } // namespace cricket | 302 } // namespace cricket |
| 302 | 303 |
| 303 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ | 304 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ |
| OLD | NEW |