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

Unified Diff: net/quic/quic_unacked_packet_map.cc

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_unacked_packet_map.h ('k') | net/quic/reliable_quic_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_unacked_packet_map.cc
diff --git a/net/quic/quic_unacked_packet_map.cc b/net/quic/quic_unacked_packet_map.cc
index 5f29a2b3c3b9d0434afce257eed1a2a7c30d3c4c..194443bfadcf871068637040fbf229dec68de3a1 100644
--- a/net/quic/quic_unacked_packet_map.cc
+++ b/net/quic/quic_unacked_packet_map.cc
@@ -327,18 +327,6 @@ QuicTime QuicUnackedPacketMap::GetLastPacketSentTime() const {
return QuicTime::Zero();
}
-QuicTime QuicUnackedPacketMap::GetFirstInFlightPacketSentTime() const {
- UnackedPacketMap::const_iterator it = unacked_packets_.begin();
- while (it != unacked_packets_.end() && !it->in_flight) {
- ++it;
- }
- if (it == unacked_packets_.end()) {
- LOG(DFATAL) << "GetFirstInFlightPacketSentTime requires in flight packets.";
- return QuicTime::Zero();
- }
- return it->sent_time;
-}
-
size_t QuicUnackedPacketMap::GetNumUnackedPacketsDebugOnly() const {
size_t unacked_packet_count = 0;
QuicPacketSequenceNumber sequence_number = least_unacked_;
« no previous file with comments | « net/quic/quic_unacked_packet_map.h ('k') | net/quic/reliable_quic_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698