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

Unified Diff: net/quic/quic_sent_packet_manager_test.cc

Issue 1542123002: Add path_id to SerializedPacket. No functional change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@110310127
Patch Set: Created 5 years 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_protocol.cc ('k') | net/quic/quic_unacked_packet_map_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_sent_packet_manager_test.cc
diff --git a/net/quic/quic_sent_packet_manager_test.cc b/net/quic/quic_sent_packet_manager_test.cc
index 40adefaaef14df37ea95717400743fe3c88f5a26..da77e48e3aac5a9140b3a98f8d01b9308bff19a9 100644
--- a/net/quic/quic_sent_packet_manager_test.cc
+++ b/net/quic/quic_sent_packet_manager_test.cc
@@ -189,14 +189,16 @@ class QuicSentPacketManagerTest : public ::testing::TestWithParam<bool> {
frames->AddFrame(
QuicFrame(new QuicStreamFrame(kStreamId, false, 0, StringPiece())));
}
- return SerializedPacket(packet_number, PACKET_6BYTE_PACKET_NUMBER,
- packets_.back(), 0u, frames, false, false);
+ return SerializedPacket(kDefaultPathId, packet_number,
+ PACKET_6BYTE_PACKET_NUMBER, packets_.back(), 0u,
+ frames, false, false);
}
SerializedPacket CreateFecPacket(QuicPacketNumber packet_number) {
packets_.push_back(new QuicEncryptedPacket(nullptr, kDefaultLength));
- SerializedPacket serialized(packet_number, PACKET_6BYTE_PACKET_NUMBER,
- packets_.back(), 0u, nullptr, false, false);
+ SerializedPacket serialized(kDefaultPathId, packet_number,
+ PACKET_6BYTE_PACKET_NUMBER, packets_.back(), 0u,
+ nullptr, false, false);
serialized.is_fec_packet = true;
return serialized;
}
« no previous file with comments | « net/quic/quic_protocol.cc ('k') | net/quic/quic_unacked_packet_map_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698