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

Unified Diff: net/tools/quic/quic_dispatcher_test.cc

Issue 1397983007: relnote: remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rch_insecure_quic
Patch Set: Compile fix 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_dispatcher.cc ('k') | net/tools/quic/quic_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 729fa8476d809386213f548c03299468e9c06f9d..8dd940438837818eb0835113e3f6cf177a689d9b 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::ValueRestore;
using net::test::TestWriterFactory;
@@ -132,7 +134,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),
« no previous file with comments | « net/tools/quic/quic_dispatcher.cc ('k') | net/tools/quic/quic_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698