| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_ | 5 #ifndef NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_ |
| 6 #define NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_ | 6 #define NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 570 const uint8_t* primary_orbit, | 570 const uint8_t* primary_orbit, |
| 571 scoped_refptr<Config> requested_config, | 571 scoped_refptr<Config> requested_config, |
| 572 scoped_refptr<Config> primary_config, | 572 scoped_refptr<Config> primary_config, |
| 573 QuicCryptoProof* crypto_proof, | 573 QuicCryptoProof* crypto_proof, |
| 574 std::unique_ptr<ProofSource::Details> proof_source_details, | 574 std::unique_ptr<ProofSource::Details> proof_source_details, |
| 575 bool get_proof_failed, | 575 bool get_proof_failed, |
| 576 scoped_refptr<ValidateClientHelloResultCallback::Result> | 576 scoped_refptr<ValidateClientHelloResultCallback::Result> |
| 577 client_hello_state, | 577 client_hello_state, |
| 578 std::unique_ptr<ValidateClientHelloResultCallback> done_cb) const; | 578 std::unique_ptr<ValidateClientHelloResultCallback> done_cb) const; |
| 579 | 579 |
| 580 // Callback class for bridging between ProcessClientHello and |
| 581 // ProcessClientHelloAfterGetProof. |
| 582 class ProcessClientHelloCallback; |
| 583 friend class ProcessClientHelloCallback; |
| 584 |
| 580 // Portion of ProcessClientHello which executes after GetProof. | 585 // Portion of ProcessClientHello which executes after GetProof. |
| 581 void ProcessClientHelloAfterGetProof( | 586 void ProcessClientHelloAfterGetProof( |
| 587 bool found_error, |
| 582 const ValidateClientHelloResultCallback::Result& validate_chlo_result, | 588 const ValidateClientHelloResultCallback::Result& validate_chlo_result, |
| 583 bool reject_only, | 589 bool reject_only, |
| 584 QuicConnectionId connection_id, | 590 QuicConnectionId connection_id, |
| 585 const IPEndPoint& client_address, | 591 const IPEndPoint& client_address, |
| 586 QuicVersion version, | 592 QuicVersion version, |
| 587 const QuicVersionVector& supported_versions, | 593 const QuicVersionVector& supported_versions, |
| 588 bool use_stateless_rejects, | 594 bool use_stateless_rejects, |
| 589 QuicConnectionId server_designated_connection_id, | 595 QuicConnectionId server_designated_connection_id, |
| 590 const QuicClock* clock, | 596 const QuicClock* clock, |
| 591 QuicRandom* rand, | 597 QuicRandom* rand, |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 std::string cert_sct; | 853 std::string cert_sct; |
| 848 // The server config that is used for this proof (and the rest of the | 854 // The server config that is used for this proof (and the rest of the |
| 849 // request). | 855 // request). |
| 850 scoped_refptr<QuicCryptoServerConfig::Config> config; | 856 scoped_refptr<QuicCryptoServerConfig::Config> config; |
| 851 std::string primary_scid; | 857 std::string primary_scid; |
| 852 }; | 858 }; |
| 853 | 859 |
| 854 } // namespace net | 860 } // namespace net |
| 855 | 861 |
| 856 #endif // NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_ | 862 #endif // NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_ |
| OLD | NEW |