OLD | NEW |
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2017 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_QUARTC_QUARTC_SESSION_H_ | 5 #ifndef NET_QUIC_QUARTC_QUARTC_SESSION_H_ |
6 #define NET_QUIC_QUARTC_QUARTC_SESSION_H_ | 6 #define NET_QUIC_QUARTC_QUARTC_SESSION_H_ |
7 | 7 |
8 #include "net/quic/core/quic_crypto_client_stream.h" | 8 #include "net/quic/core/quic_crypto_client_stream.h" |
9 #include "net/quic/core/quic_crypto_server_stream.h" | 9 #include "net/quic/core/quic_crypto_server_stream.h" |
10 #include "net/quic/core/quic_crypto_stream.h" | 10 #include "net/quic/core/quic_crypto_stream.h" |
11 #include "net/quic/core/quic_error_codes.h" | 11 #include "net/quic/core/quic_error_codes.h" |
12 #include "net/quic/core/quic_session.h" | 12 #include "net/quic/core/quic_session.h" |
| 13 #include "net/quic/platform/api/quic_export.h" |
13 #include "net/quic/quartc/quartc_clock_interface.h" | 14 #include "net/quic/quartc/quartc_clock_interface.h" |
14 #include "net/quic/quartc/quartc_session_interface.h" | 15 #include "net/quic/quartc/quartc_session_interface.h" |
15 #include "net/quic/quartc/quartc_stream.h" | 16 #include "net/quic/quartc/quartc_stream.h" |
16 | 17 |
17 namespace net { | 18 namespace net { |
18 | 19 |
19 // A helper class is used by the QuicCryptoServerStream. | 20 // A helper class is used by the QuicCryptoServerStream. |
20 class QuartcCryptoServerStreamHelper : public QuicCryptoServerStream::Helper { | 21 class QuartcCryptoServerStreamHelper : public QuicCryptoServerStream::Helper { |
21 public: | 22 public: |
22 QuicConnectionId GenerateConnectionIdForReject( | 23 QuicConnectionId GenerateConnectionIdForReject( |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 std::unique_ptr<QuicCryptoClientConfig> quic_crypto_client_config_; | 128 std::unique_ptr<QuicCryptoClientConfig> quic_crypto_client_config_; |
128 // Config for QUIC crypto server stream, used by the server. | 129 // Config for QUIC crypto server stream, used by the server. |
129 std::unique_ptr<QuicCryptoServerConfig> quic_crypto_server_config_; | 130 std::unique_ptr<QuicCryptoServerConfig> quic_crypto_server_config_; |
130 | 131 |
131 DISALLOW_COPY_AND_ASSIGN(QuartcSession); | 132 DISALLOW_COPY_AND_ASSIGN(QuartcSession); |
132 }; | 133 }; |
133 | 134 |
134 } // namespace net | 135 } // namespace net |
135 | 136 |
136 #endif // NET_QUIC_QUARTC_QUARTC_SESSION_H_ | 137 #endif // NET_QUIC_QUARTC_QUARTC_SESSION_H_ |
OLD | NEW |