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

Unified Diff: net/quic/quic_crypto_client_stream.h

Issue 18033005: Cleanup of OpenSSL/NSS implementation of ProofVerfifier release. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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_client_stream.h
diff --git a/net/quic/quic_crypto_client_stream.h b/net/quic/quic_crypto_client_stream.h
index 86633da2bee323b12081dfa69c24cb1cf463b004..c3b91fa31e54a82b159fae7015ac14dbefa0c767 100644
--- a/net/quic/quic_crypto_client_stream.h
+++ b/net/quic/quic_crypto_client_stream.h
@@ -48,14 +48,19 @@ class NET_EXPORT_PRIVATE QuicCryptoClientStream : public QuicCryptoStream {
STATE_SEND_CHLO,
STATE_RECV_REJ,
STATE_VERIFY_PROOF,
- STATE_VERIFY_PROOF_COMPLETED,
+ STATE_VERIFY_PROOF_COMPLETE,
STATE_RECV_SHLO,
};
// DoHandshakeLoop performs a step of the handshake state machine. Note that
- // |in| is NULL for the first call.
+ // |in| is NULL for the first call. OnVerifyProofComplete passes the |result|
+ // it has received from VerifyProof call (from all other places |result| is
+ // set to OK).
void DoHandshakeLoop(const CryptoHandshakeMessage* in, int result);
+ // OnVerifyProofComplete is passed as the callback method to VerifyProof.
+ // ProofVerifier calls this method with the result of proof verification when
+ // verification is performed asynchrnously.
wtc 2013/07/03 19:06:58 Typo: asynchrnously => asynchronously
ramant (doing other things) 2013/07/03 20:31:35 Done.
void OnVerifyProofComplete(int result);
base::WeakPtrFactory<QuicCryptoClientStream> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698