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

Unified Diff: net/tools/quic/quic_simple_server.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_simple_server.cc
diff --git a/net/tools/quic/quic_simple_server.cc b/net/tools/quic/quic_simple_server.cc
index f7fc9427d102b95ec19cf5b4b68bd726a54954f7..0d8e8ea98b9f5fb2cfb18d1a06657993b0c80382 100644
--- a/net/tools/quic/quic_simple_server.cc
+++ b/net/tools/quic/quic_simple_server.cc
@@ -63,13 +63,15 @@ class CustomPacketWriterFactory : public QuicDispatcher::PacketWriterFactory {
} // namespace
-QuicSimpleServer::QuicSimpleServer(const QuicConfig& config,
+QuicSimpleServer::QuicSimpleServer(ProofSource* proof_source,
+ const QuicConfig& config,
const QuicVersionVector& supported_versions)
: helper_(base::ThreadTaskRunnerHandle::Get().get(),
&clock_,
QuicRandom::GetInstance()),
config_(config),
- crypto_config_(kSourceAddressTokenSecret, QuicRandom::GetInstance()),
+ crypto_config_(kSourceAddressTokenSecret, QuicRandom::GetInstance(),
+ proof_source),
supported_versions_(supported_versions),
read_pending_(false),
synchronous_read_count_(0),

Powered by Google App Engine
This is Rietveld 408576698