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

Unified Diff: net/tools/quic/quic_server.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_server.h ('k') | net/tools/quic/quic_server_bin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_server.cc
diff --git a/net/tools/quic/quic_server.cc b/net/tools/quic/quic_server.cc
index e0cd873da6cfadf601f16302991804f5692db14e..b68b7bea3ee4be2f6fa9abed60d75064972f962a 100644
--- a/net/tools/quic/quic_server.cc
+++ b/net/tools/quic/quic_server.cc
@@ -47,9 +47,11 @@ const char kSourceAddressTokenSecret[] = "secret";
} // namespace
-QuicServer::QuicServer() : QuicServer(QuicConfig(), QuicSupportedVersions()) {}
+QuicServer::QuicServer(ProofSource* proof_source)
+ : QuicServer(proof_source, QuicConfig(), QuicSupportedVersions()) {}
-QuicServer::QuicServer(const QuicConfig& config,
+QuicServer::QuicServer(ProofSource* proof_source,
+ const QuicConfig& config,
const QuicVersionVector& supported_versions)
: port_(0),
fd_(-1),
@@ -57,7 +59,9 @@ QuicServer::QuicServer(const QuicConfig& config,
overflow_supported_(false),
use_recvmmsg_(false),
config_(config),
- crypto_config_(kSourceAddressTokenSecret, QuicRandom::GetInstance()),
+ crypto_config_(kSourceAddressTokenSecret,
+ QuicRandom::GetInstance(),
+ proof_source),
supported_versions_(supported_versions),
packet_reader_(new QuicPacketReader()) {
Initialize();
« no previous file with comments | « net/tools/quic/quic_server.h ('k') | net/tools/quic/quic_server_bin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698