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

Unified Diff: net/quic/core/quic_crypto_server_stream.h

Issue 2453113002: Fix object-lifetime issues in async GetProof callpaths (Closed)
Patch Set: Updated patchset dependency Created 4 years, 2 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 | « net/quic/core/quic_crypto_client_stream.cc ('k') | net/quic/core/quic_crypto_server_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_crypto_server_stream.h
diff --git a/net/quic/core/quic_crypto_server_stream.h b/net/quic/core/quic_crypto_server_stream.h
index fc0513171bfed5e7948e80069eba0b69872fbe2d..dba65b38c20b310859c68f6fbdfb05fd26489d22 100644
--- a/net/quic/core/quic_crypto_server_stream.h
+++ b/net/quic/core/quic_crypto_server_stream.h
@@ -211,7 +211,7 @@ class NET_EXPORT_PRIVATE QuicCryptoServerStream
// Server's certificate chain and signature of the server config, as provided
// by ProofSource::GetProof.
- QuicCryptoProof crypto_proof_;
+ scoped_refptr<QuicCryptoProof> crypto_proof_;
// Hash of the last received CHLO message which can be used for generating
// server config update messages.
@@ -265,6 +265,11 @@ class NET_EXPORT_PRIVATE QuicCryptoServerStream
// Size of the packet containing the most recently received CHLO.
QuicByteCount chlo_packet_size_;
+ // Pointer to the active callback which will receive the results of
+ // ProcessClientHello and forward it to
+ // FinishProcessingHandshakeMessageAfterProcessClientHello.
+ ProcessClientHelloCallback* process_client_hello_cb_;
+
DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream);
};
« no previous file with comments | « net/quic/core/quic_crypto_client_stream.cc ('k') | net/quic/core/quic_crypto_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698