Chromium Code Reviews| 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_; |