| 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" |  | 
|   23 #include "webrtc/p2p/base/transportchannelimpl.h" |   22 #include "webrtc/p2p/base/transportchannelimpl.h" | 
|   24 #include "webrtc/p2p/quic/quicconnectionhelper.h" |   23 #include "webrtc/p2p/quic/quicconnectionhelper.h" | 
|   25 #include "webrtc/p2p/quic/quicsession.h" |   24 #include "webrtc/p2p/quic/quicsession.h" | 
|   26  |   25  | 
|   27 namespace cricket { |   26 namespace cricket { | 
|   28  |   27  | 
|   29 enum QuicTransportState { |   28 enum QuicTransportState { | 
|   30   // Haven't started QUIC handshake. |   29   // Haven't started QUIC handshake. | 
|   31   QUIC_TRANSPORT_NEW = 0, |   30   QUIC_TRANSPORT_NEW = 0, | 
|   32   // Started QUIC handshake. |   31   // Started QUIC handshake. | 
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  298   rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; |  297   rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; | 
|  299   // Fingerprint of the remote peer. This must be set before we start QUIC. |  298   // Fingerprint of the remote peer. This must be set before we start QUIC. | 
|  300   rtc::Optional<RemoteFingerprint> remote_fingerprint_; |  299   rtc::Optional<RemoteFingerprint> remote_fingerprint_; | 
|  301  |  300  | 
|  302   RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); |  301   RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); | 
|  303 }; |  302 }; | 
|  304  |  303  | 
|  305 }  // namespace cricket |  304 }  // namespace cricket | 
|  306  |  305  | 
|  307 #endif  // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ |  306 #endif  // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ | 
| OLD | NEW |