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

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

Issue 2540143003: Allow congestion controller state to be accessed by the debug visitors. (Closed)
Patch Set: Created 4 years 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 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 } 1055 }
1056 1056
1057 void QuicSentPacketManager::RemoveObsoletePackets() { 1057 void QuicSentPacketManager::RemoveObsoletePackets() {
1058 unacked_packets_.RemoveObsoletePackets(); 1058 unacked_packets_.RemoveObsoletePackets();
1059 } 1059 }
1060 1060
1061 void QuicSentPacketManager::OnApplicationLimited() { 1061 void QuicSentPacketManager::OnApplicationLimited() {
1062 send_algorithm_->OnApplicationLimited(unacked_packets_.bytes_in_flight()); 1062 send_algorithm_->OnApplicationLimited(unacked_packets_.bytes_in_flight());
1063 } 1063 }
1064 1064
1065 const SendAlgorithmInterface* QuicSentPacketManager::GetSendAlgorithm() const {
1066 return send_algorithm_.get();
1067 }
1068
1065 } // namespace net 1069 } // 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