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

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: 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.h ('k') | net/tools/quic/quic_client_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client.cc
diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc
index 91637727027a5b4e4ddd3a994f9756a88835c824..d9f93d9ee276324c834247dfbbacde3134baede2 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,8 +246,7 @@ void QuicClient::StartConnect() {
CreateQuicClientSession(new QuicConnection(
GetNextConnectionId(), server_address_, helper_.get(), factory,
- /* owns_writer= */ false, Perspective::IS_CLIENT, server_id().is_https(),
- supported_versions()));
+ /* owns_writer= */ false, Perspective::IS_CLIENT, supported_versions()));
// Reset |writer_| after |session()| so that the old writer outlives the old
// session.
« no previous file with comments | « net/tools/quic/quic_client.h ('k') | net/tools/quic/quic_client_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698