Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Unified Diff: net/quic/crypto/quic_crypto_server_config.h

Issue 2158263003: Landing Recent QUIC changes until 7/18/2016 11:21:53 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Running flag flipping script and rebase to master Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/quic/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/quic_crypto_server_config.h
diff --git a/net/quic/crypto/quic_crypto_server_config.h b/net/quic/crypto/quic_crypto_server_config.h
index 4b7985f24291b777c1609694eb781a30257f9263..159a9ca3417ebc37bbf622fea1f06634438605f7 100644
--- a/net/quic/crypto/quic_crypto_server_config.h
+++ b/net/quic/crypto/quic_crypto_server_config.h
@@ -515,6 +515,27 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
ValidateClientHelloResultCallback::Result* client_hello_state,
ValidateClientHelloResultCallback* done_cb) const;
+ // Callback class for bridging between EvaluateClientHello and
+ // EvaluateClientHelloAfterGetProof
+ friend class EvaluateClientHelloCallback;
+
+ // Continuation of EvaluateClientHello after the call to
+ // ProofSource::GetProof. |found_error| indicates whether an error was
+ // detected in EvaluateClientHello, and |get_proof_failed| indicates whether
+ // GetProof failed. If GetProof was not run, then |get_proof_failed| will be
+ // set to false.
+ void EvaluateClientHelloAfterGetProof(
+ bool found_error,
+ const IPAddress& server_ip,
+ QuicVersion version,
+ const uint8_t* primary_orbit,
+ scoped_refptr<Config> requested_config,
+ scoped_refptr<Config> primary_config,
+ QuicCryptoProof* crypto_proof,
+ bool get_proof_failed,
+ ValidateClientHelloResultCallback::Result* client_hello_state,
+ ValidateClientHelloResultCallback* done_cb) const;
+
// BuildRejection sets |out| to be a REJ message in reply to |client_hello|.
void BuildRejection(QuicVersion version,
const Config& config,
« no previous file with comments | « no previous file | net/quic/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698