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

Unified Diff: net/quic/quic_packet_creator.cc

Issue 1785863002: Remove FEC related connection options and update FEC related comment in code base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116555910
Patch Set: Created 4 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_connection_stats.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_packet_creator.cc
diff --git a/net/quic/quic_packet_creator.cc b/net/quic/quic_packet_creator.cc
index 87f63dfa2fe8d7afd8690a43691c5d0655464b81..a0a38a5aa017dea90c1490e312eddb1c72d8623b 100644
--- a/net/quic/quic_packet_creator.cc
+++ b/net/quic/quic_packet_creator.cc
@@ -289,8 +289,7 @@ void QuicPacketCreator::ReserializeAllFrames(
const QuicPacketNumberLength saved_next_length = next_packet_number_length_;
const EncryptionLevel default_encryption_level = packet_.encryption_level;
- // Temporarily set the packet number length, stop FEC protection,
- // and change the encryption level.
+ // Temporarily set the packet number length and change the encryption level.
packet_.packet_number_length = retransmission.packet_number_length;
next_packet_number_length_ = retransmission.packet_number_length;
packet_.needs_padding = retransmission.needs_padding;
@@ -301,7 +300,7 @@ void QuicPacketCreator::ReserializeAllFrames(
packet_.encryption_level = retransmission.encryption_level;
}
- // Serialize the packet and restore the FEC and packet number length state.
+ // Serialize the packet and restore packet number length state.
for (const QuicFrame& frame : retransmission.retransmittable_frames) {
bool success = AddFrame(frame, false);
DCHECK(success);
« no previous file with comments | « net/quic/quic_connection_stats.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698