| 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_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/stl_util.h" | |
| 11 #include "net/base/linked_hash_map.h" | 10 #include "net/base/linked_hash_map.h" |
| 12 #include "net/quic/core/crypto/crypto_protocol.h" | 11 #include "net/quic/core/crypto/crypto_protocol.h" |
| 13 #include "net/quic/core/quic_connection_stats.h" | 12 #include "net/quic/core/quic_connection_stats.h" |
| 14 #include "net/quic/platform/api/quic_bug_tracker.h" | 13 #include "net/quic/platform/api/quic_bug_tracker.h" |
| 15 | 14 |
| 16 namespace net { | 15 namespace net { |
| 17 | 16 |
| 18 namespace { | 17 namespace { |
| 19 | 18 |
| 20 // The maximum number of packets to ack immediately after a missing packet for | 19 // The maximum number of packets to ack immediately after a missing packet for |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 140 |
| 142 bool QuicReceivedPacketManager::ack_frame_updated() const { | 141 bool QuicReceivedPacketManager::ack_frame_updated() const { |
| 143 return ack_frame_updated_; | 142 return ack_frame_updated_; |
| 144 } | 143 } |
| 145 | 144 |
| 146 QuicPacketNumber QuicReceivedPacketManager::GetLargestObserved() const { | 145 QuicPacketNumber QuicReceivedPacketManager::GetLargestObserved() const { |
| 147 return ack_frame_.largest_observed; | 146 return ack_frame_.largest_observed; |
| 148 } | 147 } |
| 149 | 148 |
| 150 } // namespace net | 149 } // namespace net |
| OLD | NEW |