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

Unified Diff: net/quic/quic_connection.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/quic/quic_connection.cc
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
index 71d9d20379b871f6d0aaf2040457d6e6851e41aa..79eadb5ecc888b4dc38aa7cf3eb2a6679cb41060 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -260,12 +260,9 @@ QuicConnection::QuicConnection(QuicConnectionId connection_id,
IPEndPoint address,
QuicConnectionHelperInterface* helper,
const PacketWriterFactory& writer_factory,
- bool owns_writer,
- Perspective perspective,
- bool is_secure,
+ bool owns_writer, Perspective perspective,
const QuicVersionVector& supported_versions)
- : framer_(supported_versions,
- helper->GetClock()->ApproximateNow(),
+ : framer_(supported_versions, helper->GetClock()->ApproximateNow(),
perspective),
helper_(helper),
writer_(writer_factory.Create(this)),
@@ -311,12 +308,9 @@ QuicConnection::QuicConnection(QuicConnectionId connection_id,
time_of_last_sent_new_packet_(clock_->ApproximateNow()),
packet_number_of_last_sent_packet_(0),
sent_packet_manager_(
- perspective,
- clock_,
- &stats_,
+ perspective, clock_, &stats_,
FLAGS_quic_use_bbr_congestion_control ? kBBR : kCubic,
- FLAGS_quic_use_time_loss_detection ? kTime : kNack,
- is_secure),
+ FLAGS_quic_use_time_loss_detection ? kTime : kNack),
version_negotiation_state_(START_NEGOTIATION),
perspective_(perspective),
connected_(true),
@@ -325,7 +319,6 @@ QuicConnection::QuicConnection(QuicConnectionId connection_id,
self_ip_changed_(false),
self_port_changed_(false),
can_truncate_connection_ids_(true),
- is_secure_(is_secure),
mtu_discovery_target_(0),
mtu_probe_count_(0),
packets_between_mtu_probes_(kPacketsBetweenMtuProbesBase),

Powered by Google App Engine
This is Rietveld 408576698