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

Unified Diff: net/tools/quic/quic_client.cc

Issue 1411063004: Remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: net/tools/quic/quic_client.cc
diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc
index 86992ea71f9a96663837d0b87e1ceac719540ba5..6d483c9f2f55b6e4f549d65c7582d98c93ee1890 100644
--- a/net/tools/quic/quic_client.cc
+++ b/net/tools/quic/quic_client.cc
@@ -45,19 +45,22 @@ void QuicClient::ClientQuicDataToResend::Resend() {
QuicClient::QuicClient(IPEndPoint server_address,
const QuicServerId& server_id,
const QuicVersionVector& supported_versions,
- EpollServer* epoll_server)
+ EpollServer* epoll_server,
+ ProofVerifier* proof_verifier)
: QuicClient(server_address,
server_id,
supported_versions,
QuicConfig(),
- epoll_server) {}
+ epoll_server,
+ proof_verifier) {}
QuicClient::QuicClient(IPEndPoint server_address,
const QuicServerId& server_id,
const QuicVersionVector& supported_versions,
const QuicConfig& config,
- EpollServer* epoll_server)
- : QuicClientBase(server_id, supported_versions, config),
+ EpollServer* epoll_server,
+ ProofVerifier* proof_verifier)
+ : QuicClientBase(server_id, supported_versions, config, proof_verifier),
server_address_(server_address),
local_port_(0),
epoll_server_(epoll_server),
@@ -243,7 +246,7 @@ void QuicClient::StartConnect() {
CreateQuicClientSession(new QuicConnection(
GetNextConnectionId(), server_address_, helper_.get(), factory,
- /* owns_writer= */ false, Perspective::IS_CLIENT, server_id().is_https(),
+ /* owns_writer= */ false, Perspective::IS_CLIENT,
supported_versions()));
// Reset |writer_| after |session()| so that the old writer outlives the old

Powered by Google App Engine
This is Rietveld 408576698