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

Unified Diff: net/quic/quic_unacked_packet_map_test.cc

Issue 1495243002: Remove EncryptionLevel from QUIC's RetransmittableFrames and add it to TransmissionInfo. No functi… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@108735153
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_unacked_packet_map.cc ('k') | net/quic/test_tools/quic_packet_creator_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_unacked_packet_map_test.cc
diff --git a/net/quic/quic_unacked_packet_map_test.cc b/net/quic/quic_unacked_packet_map_test.cc
index 1e302e31780500a06f35b70bc334cc0f074e9bf5..adbca84ed44924c5b86c47bab81d91b899b51f48 100644
--- a/net/quic/quic_unacked_packet_map_test.cc
+++ b/net/quic/quic_unacked_packet_map_test.cc
@@ -33,16 +33,16 @@ class QuicUnackedPacketMapTest : public ::testing::Test {
SerializedPacket CreateRetransmittablePacket(QuicPacketNumber packet_number) {
packets_.push_back(new QuicEncryptedPacket(nullptr, kDefaultLength));
- return SerializedPacket(
- packet_number, PACKET_1BYTE_PACKET_NUMBER, packets_.back(), 0,
- new RetransmittableFrames(ENCRYPTION_NONE), false, false);
+ return SerializedPacket(packet_number, PACKET_1BYTE_PACKET_NUMBER,
+ packets_.back(), 0, new RetransmittableFrames(),
+ false, false);
}
SerializedPacket CreateRetransmittablePacketForStream(
QuicPacketNumber packet_number,
QuicStreamId stream_id) {
packets_.push_back(new QuicEncryptedPacket(nullptr, kDefaultLength));
- RetransmittableFrames* frames = new RetransmittableFrames(ENCRYPTION_NONE);
+ RetransmittableFrames* frames = new RetransmittableFrames();
QuicStreamFrame* frame = new QuicStreamFrame();
frame->stream_id = stream_id;
frames->AddFrame(QuicFrame(frame));
« no previous file with comments | « net/quic/quic_unacked_packet_map.cc ('k') | net/quic/test_tools/quic_packet_creator_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698