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

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

Issue 2619993003: Move quic_bug_tracker to quic/platform. No functional change expected. (Closed)
Patch Set: fix two includes Created 3 years, 11 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_packet_generator.cc ('k') | net/quic/core/quic_sent_packet_manager.cc » ('j') | 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_received_packet_manager.h" 5 #include "net/quic/core/quic_received_packet_manager.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/stl_util.h" 11 #include "base/stl_util.h"
12 #include "net/base/linked_hash_map.h" 12 #include "net/base/linked_hash_map.h"
13 #include "net/quic/core/crypto/crypto_protocol.h" 13 #include "net/quic/core/crypto/crypto_protocol.h"
14 #include "net/quic/core/quic_bug_tracker.h"
15 #include "net/quic/core/quic_connection_stats.h" 14 #include "net/quic/core/quic_connection_stats.h"
15 #include "net/quic/platform/api/quic_bug_tracker.h"
16 16
17 namespace net { 17 namespace net {
18 18
19 namespace { 19 namespace {
20 20
21 // The maximum number of packets to ack immediately after a missing packet for 21 // The maximum number of packets to ack immediately after a missing packet for
22 // fast retransmission to kick in at the sender. This limit is created to 22 // fast retransmission to kick in at the sender. This limit is created to
23 // reduce the number of acks sent that have no benefit for fast retransmission. 23 // reduce the number of acks sent that have no benefit for fast retransmission.
24 // Set to the number of nacks needed for fast retransmit plus one for protection 24 // Set to the number of nacks needed for fast retransmit plus one for protection
25 // against an ack loss 25 // against an ack loss
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 bool QuicReceivedPacketManager::ack_frame_updated() const { 143 bool QuicReceivedPacketManager::ack_frame_updated() const {
144 return ack_frame_updated_; 144 return ack_frame_updated_;
145 } 145 }
146 146
147 QuicPacketNumber QuicReceivedPacketManager::GetLargestObserved() const { 147 QuicPacketNumber QuicReceivedPacketManager::GetLargestObserved() const {
148 return ack_frame_.largest_observed; 148 return ack_frame_.largest_observed;
149 } 149 }
150 150
151 } // namespace net 151 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_packet_generator.cc ('k') | net/quic/core/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698