| Index: net/quic/crypto/crypto_handshake.h
|
| diff --git a/net/quic/crypto/crypto_handshake.h b/net/quic/crypto/crypto_handshake.h
|
| index d2f11f8c172e9bbe147d3ff4b37fd96c86305cba..fdc92a0fc382e9fcf47b9092d1f03635e41b89b9 100644
|
| --- a/net/quic/crypto/crypto_handshake.h
|
| +++ b/net/quic/crypto/crypto_handshake.h
|
| @@ -15,6 +15,7 @@
|
| #include "net/cert/cert_verify_result.h"
|
| #include "net/cert/x509_certificate.h"
|
| #include "net/quic/crypto/crypto_protocol.h"
|
| +#include "net/quic/crypto/proof_verifier.h"
|
| #include "net/quic/quic_protocol.h"
|
|
|
| namespace net {
|
| @@ -281,10 +282,12 @@ class NET_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig {
|
| const std::string& signature() const;
|
| bool proof_valid() const;
|
| uint64 generation_counter() const;
|
| - const CertVerifyResult* cert_verify_result() const;
|
| + const ProofVerifyDetails* proof_verify_details() const;
|
|
|
| void set_source_address_token(base::StringPiece token);
|
| - void SetCertVerifyResult(const CertVerifyResult& cert_verify_result);
|
| +
|
| + // SetProofVerifyDetails takes ownership of |details|.
|
| + void SetProofVerifyDetails(ProofVerifyDetails* details);
|
|
|
| private:
|
| std::string server_config_id_; // An opaque id from the server.
|
| @@ -301,10 +304,7 @@ class NET_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig {
|
| // server_config_valid_ to false.
|
| uint64 generation_counter_;
|
|
|
| - // The result of certificate verification.
|
| - // TODO(rtenneti): should we change CertVerifyResult to be
|
| - // RefCountedThreadSafe object to avoid copying.
|
| - CertVerifyResult cert_verify_result_;
|
| + scoped_ptr<ProofVerifyDetails> proof_verify_details_;
|
|
|
| // scfg contains the cached, parsed value of |server_config|.
|
| mutable scoped_ptr<CryptoHandshakeMessage> scfg_;
|
|
|