| Index: net/quic/quic_http_stream_test.cc
|
| diff --git a/net/quic/quic_http_stream_test.cc b/net/quic/quic_http_stream_test.cc
|
| index 7fef0c5d4847af5c7a243d77c4e74be2242647e9..7a1eadedce86afe3d0190d7a85729974c82ef691 100644
|
| --- a/net/quic/quic_http_stream_test.cc
|
| +++ b/net/quic/quic_http_stream_test.cc
|
| @@ -48,6 +48,8 @@ namespace test {
|
| namespace {
|
|
|
| const char kUploadData[] = "hello world!";
|
| +const char kServerHostname[] = "www.google.com";
|
| +const uint16 kServerPort = 80;
|
|
|
| class TestQuicConnection : public QuicConnection {
|
| public:
|
| @@ -124,6 +126,7 @@ class QuicHttpStreamTest : public ::testing::TestWithParam<QuicVersion> {
|
| QuicHttpStreamTest()
|
| : net_log_(BoundNetLog()),
|
| use_closing_stream_(false),
|
| + session_key_(kServerHostname, kServerPort, false),
|
| read_buffer_(new IOBufferWithSize(4096)),
|
| connection_id_(2),
|
| stream_id_(5),
|
| @@ -203,9 +206,8 @@ class QuicHttpStreamTest : public ::testing::TestWithParam<QuicVersion> {
|
| new QuicClientSession(connection_,
|
| scoped_ptr<DatagramClientSocket>(socket),
|
| writer_.Pass(), NULL,
|
| - &crypto_client_stream_factory_,
|
| - "www.google.com", DefaultQuicConfig(),
|
| - &crypto_config_, NULL));
|
| + &crypto_client_stream_factory_, session_key_,
|
| + DefaultQuicConfig(), &crypto_config_, NULL));
|
| session_->GetCryptoStream()->CryptoConnect();
|
| EXPECT_TRUE(session_->IsCryptoHandshakeConfirmed());
|
| stream_.reset(use_closing_stream_ ?
|
| @@ -282,6 +284,7 @@ class QuicHttpStreamTest : public ::testing::TestWithParam<QuicVersion> {
|
| scoped_ptr<QuicHttpStream> stream_;
|
| scoped_ptr<QuicDefaultPacketWriter> writer_;
|
| scoped_ptr<QuicClientSession> session_;
|
| + QuicSessionKey session_key_;
|
| QuicCryptoClientConfig crypto_config_;
|
| TestCompletionCallback callback_;
|
| HttpRequestInfo request_;
|
|
|