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

Unified Diff: net/quic/quic_crypto_server_stream.h

Issue 2188663003: Add plumbing for passing stats from calls to ProofSource::GetProof through QUIC. These stats are n… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@128459519
Patch Set: Rebase 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
Index: net/quic/quic_crypto_server_stream.h
diff --git a/net/quic/quic_crypto_server_stream.h b/net/quic/quic_crypto_server_stream.h
index 77711b820c372c63cb87c69a9bbb054a8d1f2ff8..f7137465cd2c0c8976195c3d523fc9ac3c38aeb9 100644
--- a/net/quic/quic_crypto_server_stream.h
+++ b/net/quic/quic_crypto_server_stream.h
@@ -124,6 +124,7 @@ class NET_EXPORT_PRIVATE QuicCryptoServerStream
virtual QuicErrorCode ProcessClientHello(
const CryptoHandshakeMessage& message,
const ValidateClientHelloResultCallback::Result& result,
+ std::unique_ptr<ProofSource::Details> proof_source_details,
CryptoHandshakeMessage* reply,
DiversificationNonce* out_diversification_nonce,
std::string* error_details);
@@ -149,7 +150,8 @@ class NET_EXPORT_PRIVATE QuicCryptoServerStream
// From ValidateClientHelloResultCallback
void RunImpl(const CryptoHandshakeMessage& client_hello,
- const Result& result) override;
+ const Result& result,
+ std::unique_ptr<ProofSource::Details> details) override;
private:
QuicCryptoServerStream* parent_;
@@ -180,7 +182,8 @@ class NET_EXPORT_PRIVATE QuicCryptoServerStream
// hello message and handles handshake success/failure.
void FinishProcessingHandshakeMessage(
const CryptoHandshakeMessage& message,
- const ValidateClientHelloResultCallback::Result& result);
+ const ValidateClientHelloResultCallback::Result& result,
+ std::unique_ptr<ProofSource::Details> details);
// Invoked by SendServerConfigUpdateCallback::RunImpl once the proof has been
// received. |ok| indicates whether or not the proof was successfully

Powered by Google App Engine
This is Rietveld 408576698