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

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

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc 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
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/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" 12 #include "base/strings/stringprintf.h"
13 #include "net/base/linked_hash_map.h" 13 #include "net/base/linked_hash_map.h"
14 #include "net/quic/crypto/crypto_protocol.h" 14 #include "net/quic/core/crypto/crypto_protocol.h"
15 #include "net/quic/quic_bug_tracker.h" 15 #include "net/quic/core/quic_bug_tracker.h"
16 #include "net/quic/quic_connection_stats.h" 16 #include "net/quic/core/quic_connection_stats.h"
17 #include "net/quic/quic_flags.h" 17 #include "net/quic/core/quic_flags.h"
18 18
19 using std::max; 19 using std::max;
20 using std::min; 20 using std::min;
21 using std::numeric_limits; 21 using std::numeric_limits;
22 22
23 namespace net { 23 namespace net {
24 24
25 namespace { 25 namespace {
26 26
27 // The maximum number of packets to ack immediately after a missing packet for 27 // The maximum number of packets to ack immediately after a missing packet for
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 317
318 bool QuicReceivedPacketManager::ack_frame_updated() const { 318 bool QuicReceivedPacketManager::ack_frame_updated() const {
319 return ack_frame_updated_; 319 return ack_frame_updated_;
320 } 320 }
321 321
322 QuicPacketNumber QuicReceivedPacketManager::GetLargestObserved() const { 322 QuicPacketNumber QuicReceivedPacketManager::GetLargestObserved() const {
323 return ack_frame_.largest_observed; 323 return ack_frame_.largest_observed;
324 } 324 }
325 325
326 } // namespace net 326 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_received_packet_manager.h ('k') | net/quic/core/quic_received_packet_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698