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

Unified Diff: net/quic/quic_packet_creator.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_interface.h ('k') | net/quic/quic_packet_creator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_packet_creator.h
diff --git a/net/quic/quic_packet_creator.h b/net/quic/quic_packet_creator.h
index da667854f566ce1a59a020e883118ab07f1967e9..31646ec7bdf8cba269ef6be80e813981aa8db22e 100644
--- a/net/quic/quic_packet_creator.h
+++ b/net/quic/quic_packet_creator.h
@@ -226,10 +226,9 @@ class NET_EXPORT_PRIVATE QuicPacketCreator {
// To turn off FEC protection, use StopFecProtectingPackets().
void set_max_packets_per_fec_group(size_t max_packets_per_fec_group);
- // Returns the currently open FEC group's number. If there isn't an open FEC
- // group, returns the last closed FEC group number. Returns 0 when FEC is
- // disabled or no FEC group has been created yet.
- QuicFecGroupNumber fec_group_number() { return fec_group_number_; }
+ // Returns the currently open FEC group's number. Returns 0 when FEC is
+ // disabled or no FEC group is open.
+ QuicFecGroupNumber fec_group_number();
private:
friend class test::QuicPacketCreatorPeer;
@@ -276,7 +275,6 @@ class NET_EXPORT_PRIVATE QuicPacketCreator {
QuicPacketNumber packet_number_;
// If true, any created packets will be FEC protected.
bool should_fec_protect_;
- QuicFecGroupNumber fec_group_number_;
scoped_ptr<QuicFecGroup> fec_group_;
// Controls whether protocol version should be included while serializing the
// packet.
« no previous file with comments | « net/quic/quic_fec_group_interface.h ('k') | net/quic/quic_packet_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698