| 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_SERVER_STREAM_H_ | 5 #ifndef NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ |
| 6 #define NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ | 6 #define NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ |
| 7 | 7 |
| 8 #include <cstdint> | 8 #include <cstdint> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
| 14 #include "net/quic/core/crypto/crypto_handshake.h" | 14 #include "net/quic/core/crypto/crypto_handshake.h" |
| 15 #include "net/quic/core/crypto/quic_compressed_certs_cache.h" | 15 #include "net/quic/core/crypto/quic_compressed_certs_cache.h" |
| 16 #include "net/quic/core/crypto/quic_crypto_server_config.h" | 16 #include "net/quic/core/crypto/quic_crypto_server_config.h" |
| 17 #include "net/quic/core/proto/source_address_token.pb.h" | 17 #include "net/quic/core/proto/source_address_token.pb.h" |
| 18 #include "net/quic/core/quic_config.h" | 18 #include "net/quic/core/quic_config.h" |
| 19 #include "net/quic/core/quic_crypto_stream.h" | 19 #include "net/quic/core/quic_crypto_stream.h" |
| 20 | 20 |
| 21 namespace net { | 21 namespace net { |
| 22 | 22 |
| 23 class CachedNetworkParameters; | 23 class CachedNetworkParameters; |
| 24 class CryptoHandshakeMessage; | 24 class CryptoHandshakeMessage; |
| 25 class QuicCryptoServerConfig; | 25 class QuicCryptoServerConfig; |
| 26 class QuicCryptoServerStreamBase; | 26 class QuicCryptoServerStreamBase; |
| 27 class QuicServerSessionBase; | |
| 28 | 27 |
| 29 namespace test { | 28 namespace test { |
| 30 class CryptoTestUtils; | 29 class CryptoTestUtils; |
| 31 class QuicCryptoServerStreamPeer; | 30 class QuicCryptoServerStreamPeer; |
| 32 } // namespace test | 31 } // namespace test |
| 33 | 32 |
| 34 // TODO(alyssar) see what can be moved out of QuicCryptoServerStream with | 33 // TODO(alyssar) see what can be moved out of QuicCryptoServerStream with |
| 35 // various code and test refactoring. | 34 // various code and test refactoring. |
| 36 class NET_EXPORT_PRIVATE QuicCryptoServerStreamBase : public QuicCryptoStream { | 35 class NET_EXPORT_PRIVATE QuicCryptoServerStreamBase : public QuicCryptoStream { |
| 37 public: | 36 public: |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 // ProcessClientHello and forward it to | 278 // ProcessClientHello and forward it to |
| 280 // FinishProcessingHandshakeMessageAfterProcessClientHello. | 279 // FinishProcessingHandshakeMessageAfterProcessClientHello. |
| 281 ProcessClientHelloCallback* process_client_hello_cb_; | 280 ProcessClientHelloCallback* process_client_hello_cb_; |
| 282 | 281 |
| 283 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream); | 282 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream); |
| 284 }; | 283 }; |
| 285 | 284 |
| 286 } // namespace net | 285 } // namespace net |
| 287 | 286 |
| 288 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ | 287 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ |
| OLD | NEW |