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

Unified Diff: net/quic/quic_network_transaction_unittest.cc

Issue 12806002: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor comment fix Created 7 years, 9 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
« no previous file with comments | « net/quic/quic_http_stream_test.cc ('k') | net/quic/quic_packet_creator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_network_transaction_unittest.cc
diff --git a/net/quic/quic_network_transaction_unittest.cc b/net/quic/quic_network_transaction_unittest.cc
index d184f2935380e6d4308dd43910bf3e300178790b..10c1ad9aeb2bdfb4ee4a2ff44d59ad06cdb93a06 100644
--- a/net/quic/quic_network_transaction_unittest.cc
+++ b/net/quic/quic_network_transaction_unittest.cc
@@ -88,10 +88,12 @@ class QuicNetworkTransactionTest : public PlatformTest {
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));
}
@@ -103,7 +105,8 @@ class QuicNetworkTransactionTest : public PlatformTest {
host));
QuicFramer framer(kQuicVersion1,
QuicDecrypter::Create(kNULL),
- QuicEncrypter::Create(kNULL));
+ QuicEncrypter::Create(kNULL),
+ false);
return scoped_ptr<QuicEncryptedPacket>(framer.EncryptPacket(1, *shlo));
}
@@ -138,7 +141,7 @@ class QuicNetworkTransactionTest : public PlatformTest {
header.fec_entropy_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;
@@ -147,7 +150,8 @@ class QuicNetworkTransactionTest : public PlatformTest {
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));
@@ -201,7 +205,8 @@ class QuicNetworkTransactionTest : public PlatformTest {
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(
« no previous file with comments | « net/quic/quic_http_stream_test.cc ('k') | net/quic/quic_packet_creator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698