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

Unified Diff: net/tools/quic/quic_dispatcher_test.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_dispatcher_test.cc
diff --git a/net/tools/quic/quic_dispatcher_test.cc b/net/tools/quic/quic_dispatcher_test.cc
index 0eac0e11d0c82bcdc8f57f24dd00f80e9a050227..a21720b9f2a778e5eccd6dccbef8c190a4e03ec4 100644
--- a/net/tools/quic/quic_dispatcher_test.cc
+++ b/net/tools/quic/quic_dispatcher_test.cc
@@ -15,6 +15,7 @@
#include "net/quic/quic_crypto_stream.h"
#include "net/quic/quic_flags.h"
#include "net/quic/quic_utils.h"
+#include "net/quic/test_tools/crypto_test_utils.h"
#include "net/quic/test_tools/quic_test_utils.h"
#include "net/tools/epoll_server/epoll_server.h"
#include "net/tools/quic/quic_epoll_connection_helper.h"
@@ -28,6 +29,7 @@
using base::StringPiece;
using net::EpollServer;
using net::test::ConstructEncryptedPacket;
+using net::test::CryptoTestUtils;
using net::test::MockConnection;
using net::test::MockHelper;
using net::test::ValueRestore;
@@ -135,7 +137,8 @@ class QuicDispatcherTest : public ::testing::Test {
QuicDispatcherTest()
: helper_(&eps_),
crypto_config_(QuicCryptoServerConfig::TESTING,
- QuicRandom::GetInstance()),
+ QuicRandom::GetInstance(),
+ CryptoTestUtils::ProofSourceForTesting()),
dispatcher_(config_, &crypto_config_, &eps_),
time_wait_list_manager_(nullptr),
session1_(nullptr),

Powered by Google App Engine
This is Rietveld 408576698