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

Unified Diff: net/quic/quic_framer.cc

Issue 2011653004: Remove obsolete fields in quic_protocol and their current usage in QUIC. Reorders QuicAckFrame fie… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@122721477
Patch Set: Created 4 years, 7 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_fec_group_test.cc ('k') | net/quic/quic_framer_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_framer.cc
diff --git a/net/quic/quic_framer.cc b/net/quic/quic_framer.cc
index cb32e3d5021b2bc7190c2b9fac714d4fe29cd35e..0ff32cabbd306979ef1653b6763a9b17a238255a 100644
--- a/net/quic/quic_framer.cc
+++ b/net/quic/quic_framer.cc
@@ -1112,7 +1112,6 @@ bool QuicFramer::ProcessAuthenticatedHeader(QuicDataReader* reader,
header->fec_flag = (private_flags & PACKET_PRIVATE_FLAGS_FEC) != 0;
if ((private_flags & PACKET_PRIVATE_FLAGS_FEC_GROUP) != 0) {
- header->is_in_fec_group = IN_FEC_GROUP;
uint8_t first_fec_protected_packet_offset;
if (!reader->ReadBytes(&first_fec_protected_packet_offset, 1)) {
set_detailed_error("Unable to read first fec protected packet offset.");
@@ -1124,8 +1123,6 @@ bool QuicFramer::ProcessAuthenticatedHeader(QuicDataReader* reader,
"than the packet number.");
return RaiseError(QUIC_INVALID_PACKET_HEADER);
}
- header->fec_group =
- header->packet_number - first_fec_protected_packet_offset;
}
header->entropy_hash = GetPacketEntropyHash(*header);
« no previous file with comments | « net/quic/quic_fec_group_test.cc ('k') | net/quic/quic_framer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698