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

Unified Diff: net/quic/quic_fec_group_interface.h

Issue 1417683003: Fix the semantics of QuicFecGroup::ProtectsPacketsBefore into IsWaitingForPacketBefore. Certain ed… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@105435253
Patch Set: Created 5 years, 2 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.cc ('k') | net/quic/quic_fec_group_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_fec_group_interface.h
diff --git a/net/quic/quic_fec_group_interface.h b/net/quic/quic_fec_group_interface.h
index eea61c304942a37c10af3fd200800fcf961673a4..220e7ab4f355042e6543e8c1d68a986156303cad 100644
--- a/net/quic/quic_fec_group_interface.h
+++ b/net/quic/quic_fec_group_interface.h
@@ -50,9 +50,9 @@ class NET_EXPORT_PRIVATE QuicFecGroupInterface {
char* decrypted_payload,
size_t decrypted_payload_len) = 0;
- // Returns true of this FEC group protects any packets with sequence
- // numbers less than |num|.
- virtual bool ProtectsPacketsBefore(QuicPacketNumber num) const = 0;
+ // Returns true if the group is waiting for any packets with sequence numbers
+ // less than |num|.
+ virtual bool IsWaitingForPacketBefore(QuicPacketNumber num) const = 0;
// The FEC data in the FEC packet.
virtual const base::StringPiece PayloadParity() const = 0;
« no previous file with comments | « net/quic/quic_fec_group.cc ('k') | net/quic/quic_fec_group_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698