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

Unified Diff: net/quic/quic_fec_group.h

Issue 990533002: Land Recent QUIC Changes until 03/06/2015. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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_dispatcher.cc ('k') | net/quic/quic_fec_group.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_fec_group.h
diff --git a/net/quic/quic_fec_group.h b/net/quic/quic_fec_group.h
index 718d09f83ad6a1008d9061e35bc815ba9fdebb0c..a44565fb3458fe5774395467f54f3ffc243b5fc3 100644
--- a/net/quic/quic_fec_group.h
+++ b/net/quic/quic_fec_group.h
@@ -61,7 +61,7 @@ class NET_EXPORT_PRIVATE QuicFecGroup {
return min_protected_packet_;
}
- size_t NumReceivedPackets() const {
+ QuicPacketCount NumReceivedPackets() const {
return received_packets_.size();
}
@@ -72,9 +72,9 @@ class NET_EXPORT_PRIVATE QuicFecGroup {
private:
bool UpdateParity(base::StringPiece payload);
- // Returns the number of missing packets, or size_t max if the number
- // of missing packets is not known.
- size_t NumMissingPackets() const;
+ // Returns the number of missing packets, or QuicPacketCount max
+ // if the number of missing packets is not known.
+ QuicPacketCount NumMissingPackets() const;
// Set of packets that we have recevied.
SequenceNumberSet received_packets_;
« no previous file with comments | « net/quic/quic_dispatcher.cc ('k') | net/quic/quic_fec_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698