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

Side by Side Diff: net/quic/core/quic_sent_packet_manager.cc

Issue 2229023002: Track when QUIC connections are application limited. Protected by quic_enable_app_limited_check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@129327247
Patch Set: git pull upper stream Created 4 years, 4 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « net/quic/core/quic_sent_packet_manager.h ('k') | net/quic/core/quic_sent_packet_manager_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698