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

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

Issue 15937012: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small bug fixes Created 7 years, 7 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 809ddd3b050e76e57462e1c5c2cc892bfb5e28eb..6b7bc15cb4e8a0fce66f1a1491d1c32dd2efbf22 100644
--- a/net/tools/quic/quic_dispatcher_test.cc
+++ b/net/tools/quic/quic_dispatcher_test.cc
@@ -9,6 +9,7 @@
#include "base/strings/string_piece.h"
#include "net/quic/crypto/crypto_handshake.h"
#include "net/quic/crypto/crypto_server_config.h"
+#include "net/quic/crypto/quic_random.h"
#include "net/quic/quic_crypto_stream.h"
#include "net/quic/test_tools/quic_test_utils.h"
#include "net/tools/flip_server/epoll_server.h"
@@ -103,7 +104,8 @@ QuicSession* CreateSession(QuicDispatcher* dispatcher,
class QuicDispatcherTest : public ::testing::Test {
public:
QuicDispatcherTest()
- : crypto_config_(QuicCryptoServerConfig::TESTING),
+ : crypto_config_(QuicCryptoServerConfig::TESTING,
+ QuicRandom::GetInstance()),
dispatcher_(config_, crypto_config_, &eps_),
session1_(NULL),
session2_(NULL) {

Powered by Google App Engine
This is Rietveld 408576698