OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/quic/core/quic_sent_packet_manager.h" | 5 #include "net/quic/core/quic_sent_packet_manager.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
997 | 997 |
998 TransmissionInfo* QuicSentPacketManager::GetMutableTransmissionInfo( | 998 TransmissionInfo* QuicSentPacketManager::GetMutableTransmissionInfo( |
999 QuicPacketNumber packet_number) { | 999 QuicPacketNumber packet_number) { |
1000 return unacked_packets_.GetMutableTransmissionInfo(packet_number); | 1000 return unacked_packets_.GetMutableTransmissionInfo(packet_number); |
1001 } | 1001 } |
1002 | 1002 |
1003 void QuicSentPacketManager::RemoveObsoletePackets() { | 1003 void QuicSentPacketManager::RemoveObsoletePackets() { |
1004 unacked_packets_.RemoveObsoletePackets(); | 1004 unacked_packets_.RemoveObsoletePackets(); |
1005 } | 1005 } |
1006 | 1006 |
| 1007 void QuicSentPacketManager::OnApplicationLimited() { |
| 1008 send_algorithm_->OnApplicationLimited(unacked_packets_.bytes_in_flight()); |
| 1009 } |
| 1010 |
1007 } // namespace net | 1011 } // namespace net |
OLD | NEW |