| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "net/quic/crypto/crypto_handshake.h" | 10 #include "net/quic/crypto/crypto_handshake.h" |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 const ValidateClientHelloResultCallback::Result& result); | 76 const ValidateClientHelloResultCallback::Result& result); |
| 77 | 77 |
| 78 // crypto_config_ contains crypto parameters for the handshake. | 78 // crypto_config_ contains crypto parameters for the handshake. |
| 79 const QuicCryptoServerConfig& crypto_config_; | 79 const QuicCryptoServerConfig& crypto_config_; |
| 80 | 80 |
| 81 // Pointer to the active callback that will receive the result of | 81 // Pointer to the active callback that will receive the result of |
| 82 // the client hello validation request and forward it to | 82 // the client hello validation request and forward it to |
| 83 // FinishProcessingHandshakeMessage for processing. NULL if no | 83 // FinishProcessingHandshakeMessage for processing. NULL if no |
| 84 // handshake message is being validated. | 84 // handshake message is being validated. |
| 85 ValidateCallback* validate_client_hello_cb_; | 85 ValidateCallback* validate_client_hello_cb_; |
| 86 |
| 87 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream); |
| 86 }; | 88 }; |
| 87 | 89 |
| 88 } // namespace net | 90 } // namespace net |
| 89 | 91 |
| 90 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ | 92 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ |
| OLD | NEW |