OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_QUIC_QUIC_CRYPTO_STREAM_H_ | 5 #ifndef NET_QUIC_QUIC_CRYPTO_STREAM_H_ |
6 #define NET_QUIC_QUIC_CRYPTO_STREAM_H_ | 6 #define NET_QUIC_QUIC_CRYPTO_STREAM_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "net/quic/crypto/crypto_framer.h" | 11 #include "net/quic/core/crypto/crypto_framer.h" |
12 #include "net/quic/crypto/crypto_utils.h" | 12 #include "net/quic/core/crypto/crypto_utils.h" |
13 #include "net/quic/quic_config.h" | 13 #include "net/quic/core/quic_config.h" |
14 #include "net/quic/quic_protocol.h" | 14 #include "net/quic/core/quic_protocol.h" |
15 #include "net/quic/reliable_quic_stream.h" | 15 #include "net/quic/core/reliable_quic_stream.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 | 18 |
19 class CryptoHandshakeMessage; | 19 class CryptoHandshakeMessage; |
20 class QuicSession; | 20 class QuicSession; |
21 | 21 |
22 // Crypto handshake messages in QUIC take place over a reserved | 22 // Crypto handshake messages in QUIC take place over a reserved |
23 // reliable stream with the id 1. Each endpoint (client and server) | 23 // reliable stream with the id 1. Each endpoint (client and server) |
24 // will allocate an instance of a subclass of QuicCryptoStream | 24 // will allocate an instance of a subclass of QuicCryptoStream |
25 // to send and receive handshake messages. (In the normal 1-RTT | 25 // to send and receive handshake messages. (In the normal 1-RTT |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 82 |
83 private: | 83 private: |
84 CryptoFramer crypto_framer_; | 84 CryptoFramer crypto_framer_; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(QuicCryptoStream); | 86 DISALLOW_COPY_AND_ASSIGN(QuicCryptoStream); |
87 }; | 87 }; |
88 | 88 |
89 } // namespace net | 89 } // namespace net |
90 | 90 |
91 #endif // NET_QUIC_QUIC_CRYPTO_STREAM_H_ | 91 #endif // NET_QUIC_QUIC_CRYPTO_STREAM_H_ |
OLD | NEW |