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

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

Issue 2239033002: Revert FLAGS_quic_least_unacked_packet_number_length so that it can be landed completely and then m… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « net/quic/core/quic_flags.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 } 979 }
980 980
981 QuicPacketNumber QuicSentPacketManager::GetLargestObserved(QuicPathId) const { 981 QuicPacketNumber QuicSentPacketManager::GetLargestObserved(QuicPathId) const {
982 return unacked_packets_.largest_observed(); 982 return unacked_packets_.largest_observed();
983 } 983 }
984 984
985 QuicPacketNumber QuicSentPacketManager::GetLargestSentPacket(QuicPathId) const { 985 QuicPacketNumber QuicSentPacketManager::GetLargestSentPacket(QuicPathId) const {
986 return unacked_packets_.largest_sent_packet(); 986 return unacked_packets_.largest_sent_packet();
987 } 987 }
988 988
989 // Remove this method when deprecating QUIC_VERSION_33.
990 QuicPacketNumber QuicSentPacketManager::GetLeastPacketAwaitedByPeer( 989 QuicPacketNumber QuicSentPacketManager::GetLeastPacketAwaitedByPeer(
991 QuicPathId) const { 990 QuicPathId) const {
992 return least_packet_awaited_by_peer_; 991 return least_packet_awaited_by_peer_;
993 } 992 }
994 993
995 void QuicSentPacketManager::SetNetworkChangeVisitor( 994 void QuicSentPacketManager::SetNetworkChangeVisitor(
996 NetworkChangeVisitor* visitor) { 995 NetworkChangeVisitor* visitor) {
997 DCHECK(!network_change_visitor_); 996 DCHECK(!network_change_visitor_);
998 DCHECK(visitor); 997 DCHECK(visitor);
999 network_change_visitor_ = visitor; 998 network_change_visitor_ = visitor;
(...skipping 14 matching lines...) Expand all
1014 TransmissionInfo* QuicSentPacketManager::GetMutableTransmissionInfo( 1013 TransmissionInfo* QuicSentPacketManager::GetMutableTransmissionInfo(
1015 QuicPacketNumber packet_number) { 1014 QuicPacketNumber packet_number) {
1016 return unacked_packets_.GetMutableTransmissionInfo(packet_number); 1015 return unacked_packets_.GetMutableTransmissionInfo(packet_number);
1017 } 1016 }
1018 1017
1019 void QuicSentPacketManager::RemoveObsoletePackets() { 1018 void QuicSentPacketManager::RemoveObsoletePackets() {
1020 unacked_packets_.RemoveObsoletePackets(); 1019 unacked_packets_.RemoveObsoletePackets();
1021 } 1020 }
1022 1021
1023 } // namespace net 1022 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_flags.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698