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

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

Issue 393953009: Moving the work currently done in the QuicSession constructor to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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_spdy_client_stream_test.cc
diff --git a/net/tools/quic/quic_spdy_client_stream_test.cc b/net/tools/quic/quic_spdy_client_stream_test.cc
index 475f832b1c5cc2f796a005e5b057945ac57c171b..ecaa49765f8dcacdbcc28c02dc83ed5cd2734178 100644
--- a/net/tools/quic/quic_spdy_client_stream_test.cc
+++ b/net/tools/quic/quic_spdy_client_stream_test.cc
@@ -29,11 +29,11 @@ class QuicSpdyClientStreamTest : public TestWithParam<QuicVersion> {
QuicSpdyClientStreamTest()
: connection_(new StrictMock<MockConnection>(
false, SupportedVersions(GetParam()))),
- session_(QuicServerId("example.com", 80, false, PRIVACY_MODE_DISABLED),
- DefaultQuicConfig(),
- connection_,
- &crypto_config_),
+ session_(DefaultQuicConfig(), connection_),
body_("hello world") {
+ session_.InitializeSession(
+ QuicServerId("example.com", 80, false, PRIVACY_MODE_DISABLED),
+ &crypto_config_);
crypto_config_.SetDefaults();
headers_.SetResponseFirstlineFromStringPieces("HTTP/1.1", "200", "Ok");

Powered by Google App Engine
This is Rietveld 408576698