| Index: net/quic/quic_stream_factory_test.cc
|
| diff --git a/net/quic/quic_stream_factory_test.cc b/net/quic/quic_stream_factory_test.cc
|
| index 5ddae7c1c4f21859a2b496c57cddf65671fecef7..34b06b8a810385ee15b333e4fe1d91ec60c6dc5e 100644
|
| --- a/net/quic/quic_stream_factory_test.cc
|
| +++ b/net/quic/quic_stream_factory_test.cc
|
| @@ -37,10 +37,12 @@ class QuicStreamFactoryTest : public ::testing::Test {
|
| scoped_ptr<QuicPacket> chlo(ConstructClientHelloPacket(0xDEADBEEF,
|
| clock_,
|
| &random_generator_,
|
| - host));
|
| + host,
|
| + true));
|
| QuicFramer framer(kQuicVersion1,
|
| QuicDecrypter::Create(kNULL),
|
| - QuicEncrypter::Create(kNULL));
|
| + QuicEncrypter::Create(kNULL),
|
| + false);
|
| return scoped_ptr<QuicEncryptedPacket>(framer.EncryptPacket(1, *chlo));
|
| }
|
|
|
| @@ -52,7 +54,8 @@ class QuicStreamFactoryTest : public ::testing::Test {
|
| host));
|
| QuicFramer framer(kQuicVersion1,
|
| QuicDecrypter::Create(kNULL),
|
| - QuicEncrypter::Create(kNULL));
|
| + QuicEncrypter::Create(kNULL),
|
| + false);
|
| return scoped_ptr<QuicEncryptedPacket>(framer.EncryptPacket(1, *shlo));
|
| }
|
|
|
| @@ -87,7 +90,7 @@ class QuicStreamFactoryTest : public ::testing::Test {
|
| header.fec_flag = false;
|
| header.fec_group = 0;
|
|
|
| - QuicAckFrame ack(largest_received, least_unacked);
|
| + QuicAckFrame ack(largest_received, QuicTime::Zero(), least_unacked);
|
| QuicCongestionFeedbackFrame feedback;
|
| feedback.type = kTCP;
|
| feedback.tcp.accumulated_number_of_lost_packets = 0;
|
| @@ -95,7 +98,8 @@ class QuicStreamFactoryTest : public ::testing::Test {
|
|
|
| QuicFramer framer(kQuicVersion1,
|
| QuicDecrypter::Create(kNULL),
|
| - QuicEncrypter::Create(kNULL));
|
| + QuicEncrypter::Create(kNULL),
|
| + false);
|
| QuicFrames frames;
|
| frames.push_back(QuicFrame(&ack));
|
| frames.push_back(QuicFrame(&feedback));
|
| @@ -132,7 +136,8 @@ class QuicStreamFactoryTest : public ::testing::Test {
|
| const QuicFrame& frame) {
|
| QuicFramer framer(kQuicVersion1,
|
| QuicDecrypter::Create(kNULL),
|
| - QuicEncrypter::Create(kNULL));
|
| + QuicEncrypter::Create(kNULL),
|
| + false);
|
| QuicFrames frames;
|
| frames.push_back(frame);
|
| scoped_ptr<QuicPacket> packet(
|
|
|