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/logging.h" | 10 #include "base/logging.h" |
11 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
12 #include "base/strings/stringprintf.h" | |
13 #include "net/base/linked_hash_map.h" | 12 #include "net/base/linked_hash_map.h" |
14 #include "net/quic/core/crypto/crypto_protocol.h" | 13 #include "net/quic/core/crypto/crypto_protocol.h" |
15 #include "net/quic/core/quic_bug_tracker.h" | 14 #include "net/quic/core/quic_bug_tracker.h" |
16 #include "net/quic/core/quic_connection_stats.h" | 15 #include "net/quic/core/quic_connection_stats.h" |
17 #include "net/quic/core/quic_flags.h" | 16 #include "net/quic/core/quic_flags.h" |
18 | 17 |
19 using std::max; | 18 using std::max; |
20 using std::min; | 19 using std::min; |
21 | 20 |
22 namespace net { | 21 namespace net { |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 | 314 |
316 bool QuicReceivedPacketManager::ack_frame_updated() const { | 315 bool QuicReceivedPacketManager::ack_frame_updated() const { |
317 return ack_frame_updated_; | 316 return ack_frame_updated_; |
318 } | 317 } |
319 | 318 |
320 QuicPacketNumber QuicReceivedPacketManager::GetLargestObserved() const { | 319 QuicPacketNumber QuicReceivedPacketManager::GetLargestObserved() const { |
321 return ack_frame_.largest_observed; | 320 return ack_frame_.largest_observed; |
322 } | 321 } |
323 | 322 |
324 } // namespace net | 323 } // namespace net |
OLD | NEW |