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

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

Issue 1397983007: relnote: remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rch_insecure_quic
Patch Set: Compile fix 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..d3361473deabbc0374179999605f02f4e537d255 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,11 +90,8 @@ 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);
+ ProofVerifier* proof_verifier() const {
+ return crypto_config_.proof_verifier();
}
// SetChannelIDSource sets a ChannelIDSource that will be called, when the
« 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