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

Unified Diff: net/quic/test_tools/quic_test_utils.cc

Issue 11377096: Change from re-transmitting an packet with a retransmit number to sending a new packet with a new s… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/test_tools/quic_test_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_test_utils.cc
diff --git a/net/quic/test_tools/quic_test_utils.cc b/net/quic/test_tools/quic_test_utils.cc
index 3e3171f6839d323cef2f97890da7589fec9f30d2..022cdd05aff2ed4bc1ab2084cdee666ae9386434 100644
--- a/net/quic/test_tools/quic_test_utils.cc
+++ b/net/quic/test_tools/quic_test_utils.cc
@@ -150,7 +150,6 @@ QuicPacket* ConstructHandshakePacket(QuicGuid guid, CryptoTag tag) {
QuicPacketHeader header;
header.guid = guid;
- header.retransmission_count = 0;
header.packet_sequence_number = 1;
header.transmission_time = 0;
header.flags = PACKET_FLAGS_NONE;
@@ -163,7 +162,7 @@ QuicPacket* ConstructHandshakePacket(QuicGuid guid, CryptoTag tag) {
QuicFrames frames;
frames.push_back(frame);
QuicPacket* packet;
- quic_framer.ConstructFragementDataPacket(header, frames, &packet);
+ quic_framer.ConstructFrameDataPacket(header, frames, &packet);
return packet;
}
@@ -184,8 +183,9 @@ PacketSavingConnection::~PacketSavingConnection() {
bool PacketSavingConnection::SendPacket(QuicPacketSequenceNumber number,
QuicPacket* packet,
- bool resend,
- bool force) {
+ bool should_resend,
+ bool force,
+ bool is_retransmit) {
packets_.push_back(packet);
return true;
}
« no previous file with comments | « net/quic/test_tools/quic_test_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698