| Index: net/quic/quic_session.h
|
| diff --git a/net/quic/quic_session.h b/net/quic/quic_session.h
|
| index 31a05fe668dd7c8c4fc810084086f8d0b67635b6..bd3f60458a3c9b4d8f18d641117cd5b255ca1d43 100644
|
| --- a/net/quic/quic_session.h
|
| +++ b/net/quic/quic_session.h
|
| @@ -23,6 +23,7 @@
|
|
|
| namespace net {
|
|
|
| +class ProofVerifier;
|
| class QuicCryptoStream;
|
| class ReliableQuicStream;
|
| class VisitorShim;
|
| @@ -104,6 +105,14 @@ class NET_EXPORT_PRIVATE QuicSession : public QuicConnectionVisitorInterface {
|
| // Servers will simply call it once with HANDSHAKE_CONFIRMED.
|
| virtual void OnCryptoHandshakeEvent(CryptoHandshakeEvent event);
|
|
|
| + virtual ProofVerifier* proof_verifier() const;
|
| +
|
| + // SetProofVerifier takes ownership of a |ProofVerifier| that clients are
|
| + // free to use in order to verify certificate chains from servers. If a
|
| + // ProofVerifier is set then the client will request a certificate chain from
|
| + // the server.
|
| + virtual void SetProofVerifier(ProofVerifier* verifier);
|
| +
|
| // Returns mutable config for this session. Returned config is owned
|
| // by QuicSession.
|
| QuicConfig* config();
|
| @@ -214,6 +223,7 @@ class NET_EXPORT_PRIVATE QuicSession : public QuicConnectionVisitorInterface {
|
| QuicSpdyCompressor compressor_;
|
|
|
| QuicConfig config_;
|
| + scoped_ptr<ProofVerifier> proof_verifier_;
|
|
|
| // Returns the maximum number of streams this connection can open.
|
| size_t max_open_streams_;
|
|
|