| Index: net/tools/quic/quic_client_base.h
|
| diff --git a/net/tools/quic/quic_client_base.h b/net/tools/quic/quic_client_base.h
|
| index 50582c3357200b14c6cfd876dbed557b88043a1d..49b9461da50c9d8f85bbfbfe278c4eae595a1f92 100644
|
| --- a/net/tools/quic/quic_client_base.h
|
| +++ b/net/tools/quic/quic_client_base.h
|
| @@ -47,7 +47,8 @@ class QuicClientBase {
|
|
|
| QuicClientBase(const QuicServerId& server_id,
|
| const QuicVersionVector& supported_versions,
|
| - const QuicConfig& config);
|
| + const QuicConfig& config,
|
| + ProofVerifier* proof_verifier);
|
|
|
| ~QuicClientBase();
|
|
|
| @@ -89,13 +90,6 @@ class QuicClientBase {
|
| crypto_config_.set_user_agent_id(user_agent_id);
|
| }
|
|
|
| - // SetProofVerifier sets the ProofVerifier that will be used to verify the
|
| - // server's certificate and takes ownership of |verifier|.
|
| - void SetProofVerifier(ProofVerifier* verifier) {
|
| - // TODO(rtenneti): We should set ProofVerifier in QuicClientSession.
|
| - crypto_config_.SetProofVerifier(verifier);
|
| - }
|
| -
|
| // SetChannelIDSource sets a ChannelIDSource that will be called, when the
|
| // server supports channel IDs, to obtain a channel ID for signing a message
|
| // proving possession of the channel ID. This object takes ownership of
|
| @@ -167,6 +161,8 @@ class QuicClientBase {
|
| return initial_max_packet_length_;
|
| }
|
|
|
| + ProofVerifier* proof_verifier() const;
|
| +
|
| protected:
|
| virtual QuicClientSession* CreateQuicClientSession(
|
| QuicConnection* connection);
|
|
|