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

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

Issue 3011943002: Move optional.h to webrtc/api/ (Closed)
Patch Set: Created 3 years, 3 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
« no previous file with comments | « webrtc/p2p/base/udptransport.h ('k') | webrtc/pc/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
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/api/optional.h"
20 #include "webrtc/p2p/base/transportchannelimpl.h" 21 #include "webrtc/p2p/base/transportchannelimpl.h"
21 #include "webrtc/p2p/quic/quicconnectionhelper.h" 22 #include "webrtc/p2p/quic/quicconnectionhelper.h"
22 #include "webrtc/p2p/quic/quicsession.h" 23 #include "webrtc/p2p/quic/quicsession.h"
23 #include "webrtc/rtc_base/constructormagic.h" 24 #include "webrtc/rtc_base/constructormagic.h"
24 #include "webrtc/rtc_base/optional.h"
25 25
26 namespace cricket { 26 namespace cricket {
27 27
28 enum QuicTransportState { 28 enum QuicTransportState {
29 // Haven't started QUIC handshake. 29 // Haven't started QUIC handshake.
30 QUIC_TRANSPORT_NEW = 0, 30 QUIC_TRANSPORT_NEW = 0,
31 // Started QUIC handshake. 31 // Started QUIC handshake.
32 QUIC_TRANSPORT_CONNECTING, 32 QUIC_TRANSPORT_CONNECTING,
33 // Negotiated, and has an encrypted connection. 33 // Negotiated, and has an encrypted connection.
34 QUIC_TRANSPORT_CONNECTED, 34 QUIC_TRANSPORT_CONNECTED,
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; 299 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_;
300 // Fingerprint of the remote peer. This must be set before we start QUIC. 300 // Fingerprint of the remote peer. This must be set before we start QUIC.
301 rtc::Optional<RemoteFingerprint> remote_fingerprint_; 301 rtc::Optional<RemoteFingerprint> remote_fingerprint_;
302 302
303 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel); 303 RTC_DISALLOW_COPY_AND_ASSIGN(QuicTransportChannel);
304 }; 304 };
305 305
306 } // namespace cricket 306 } // namespace cricket
307 307
308 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_ 308 #endif // WEBRTC_P2P_QUIC_QUICTRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/udptransport.h ('k') | webrtc/pc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698