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 <memory> | 14 #include <memory> |
15 #include <string> | 15 #include <string> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "net/quic/quic_crypto_client_stream.h" | 18 #include "net/quic/quic_crypto_client_stream.h" |
19 #include "net/quic/quic_packet_writer.h" | 19 #include "net/quic/quic_packet_writer.h" |
20 #include "webrtc/base/constructormagic.h" | 20 #include "webrtc/base/constructormagic.h" |
21 #include "webrtc/base/optional.h" | 21 #include "webrtc/base/optional.h" |
| 22 #include "webrtc/base/scoped_ptr.h" |
22 #include "webrtc/p2p/base/transportchannelimpl.h" | 23 #include "webrtc/p2p/base/transportchannelimpl.h" |
23 #include "webrtc/p2p/quic/quicconnectionhelper.h" | 24 #include "webrtc/p2p/quic/quicconnectionhelper.h" |
24 #include "webrtc/p2p/quic/quicsession.h" | 25 #include "webrtc/p2p/quic/quicsession.h" |
25 | 26 |
26 namespace cricket { | 27 namespace cricket { |
27 | 28 |
28 enum QuicTransportState { | 29 enum QuicTransportState { |
29 // Haven't started QUIC handshake. | 30 // Haven't started QUIC handshake. |
30 QUIC_TRANSPORT_NEW = 0, | 31 QUIC_TRANSPORT_NEW = 0, |
31 // Started QUIC handshake. | 32 // Started QUIC handshake. |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; | 298 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; |
298 // 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. |
299 rtc::Optional<RemoteFingerprint> remote_fingerprint_; | 300 rtc::Optional<RemoteFingerprint> remote_fingerprint_; |
300 | 301 |
301 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); | 302 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); |
302 }; | 303 }; |
303 | 304 |
304 } // namespace cricket | 305 } // namespace cricket |
305 | 306 |
306 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ | 307 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ |
OLD | NEW |