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

Unified Diff: net/quic/quic_end_to_end_unittest.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_end_to_end_unittest.cc
diff --git a/net/quic/quic_end_to_end_unittest.cc b/net/quic/quic_end_to_end_unittest.cc
index b5ce9bd6cfff1e38e3d5961e0594ac52894325a1..bbd2731532a3bc068ece8fd307daef1bf849317c 100644
--- a/net/quic/quic_end_to_end_unittest.cc
+++ b/net/quic/quic_end_to_end_unittest.cc
@@ -152,11 +152,10 @@ class QuicEndToEndTest : public PlatformTest {
server_config_.SetInitialSessionFlowControlWindowToSend(
kInitialSessionFlowControlWindowForTest);
QuicServer* server =
- new QuicServer(server_config_, QuicSupportedVersions());
- server_thread_.reset(new ServerThread(server, /*is_secure=*/true,
- server_address_,
+ new QuicServer(CryptoTestUtils::ProofSourceForTesting(),
+ server_config_, QuicSupportedVersions());
+ server_thread_.reset(new ServerThread(server, server_address_,
strike_register_no_startup_period_));
- server->SetProofSource(CryptoTestUtils::ProofSourceForTesting());
server_thread_->Initialize();
server_address_ = IPEndPoint(server_address_.address(),
server_thread_->GetPort());

Powered by Google App Engine
This is Rietveld 408576698