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

Unified Diff: net/tools/quic/quic_client_base.h

Issue 1411063004: Remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enough! Created 5 years, 2 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
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_client_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_client_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698