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

Unified Diff: net/quic/quic_client_session_test.cc

Issue 481103003: QUIC - Construct crypto_stream_ in QuicClientSession::InitializeSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase TOT Created 6 years, 4 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_client_session_test.cc
diff --git a/net/quic/quic_client_session_test.cc b/net/quic/quic_client_session_test.cc
index 2c000728668fb3aaed0e579d8a1fa0081c7e4e4a..ed456395a3146cadea64a1ae98f07a6ea891cf10 100644
--- a/net/quic/quic_client_session_test.cc
+++ b/net/quic/quic_client_session_test.cc
@@ -43,15 +43,14 @@ class QuicClientSessionTest : public ::testing::TestWithParam<QuicVersion> {
QuicClientSessionTest()
: connection_(
new PacketSavingConnection(false, SupportedVersions(GetParam()))),
- session_(connection_, GetSocket().Pass(), NULL, NULL,
+ session_(connection_, GetSocket().Pass(), NULL,
&transport_security_state_,
- make_scoped_ptr((QuicServerInfo*)NULL),
- QuicServerId(kServerHostname, kServerPort, false,
- PRIVACY_MODE_DISABLED),
- DefaultQuicConfig(), &crypto_config_,
+ make_scoped_ptr((QuicServerInfo*)NULL), DefaultQuicConfig(),
base::MessageLoop::current()->message_loop_proxy().get(),
&net_log_) {
- session_.InitializeSession();
+ session_.InitializeSession(QuicServerId(kServerHostname, kServerPort, false,
+ PRIVACY_MODE_DISABLED),
+ &crypto_config_, NULL);
session_.config()->SetDefaults();
crypto_config_.SetDefaults();
}

Powered by Google App Engine
This is Rietveld 408576698