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

Unified Diff: net/quic/quic_fec_group_interface.h

Issue 1409813006: Remove QuicPacketCreator::fec_group_number_; replace it with QuicFecGroupInterface::FecGroupNumber(… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106425553
Patch Set: Created 5 years, 1 month 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_packet_creator.h » ('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 159662ad63ed0858a5076f30db28a6790b9e317b..87914f714b952a50d71b69c3b22474bc30694f5d 100644
--- a/net/quic/quic_fec_group_interface.h
+++ b/net/quic/quic_fec_group_interface.h
@@ -63,6 +63,9 @@ class NET_EXPORT_PRIVATE QuicFecGroupInterface {
// Returns the effective encryption level of the FEC group.
virtual EncryptionLevel EffectiveEncryptionLevel() const = 0;
+ // Return the FEC group number of this group.
+ virtual QuicFecGroupNumber FecGroupNumber() const = 0;
+
// An optimized version of running |output| ^= |input|, where ^ is
// byte-by-byte XOR and both |output| and |input| are of size |size_in_bytes|.
static void XorBuffers(const char* input, size_t size_in_bytes, char* output);
« no previous file with comments | « net/quic/quic_fec_group.cc ('k') | net/quic/quic_packet_creator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698