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

Side by Side Diff: net/quic/core/quic_sent_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_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"
11 #include "net/quic/chromium/quic_utils_chromium.h" 11 #include "net/quic/chromium/quic_utils_chromium.h"
12 #include "net/quic/congestion_control/general_loss_algorithm.h" 12 #include "net/quic/core/congestion_control/general_loss_algorithm.h"
13 #include "net/quic/congestion_control/pacing_sender.h" 13 #include "net/quic/core/congestion_control/pacing_sender.h"
14 #include "net/quic/crypto/crypto_protocol.h" 14 #include "net/quic/core/crypto/crypto_protocol.h"
15 #include "net/quic/proto/cached_network_parameters.pb.h" 15 #include "net/quic/core/proto/cached_network_parameters.pb.h"
16 #include "net/quic/quic_bug_tracker.h" 16 #include "net/quic/core/quic_bug_tracker.h"
17 #include "net/quic/quic_connection_stats.h" 17 #include "net/quic/core/quic_connection_stats.h"
18 #include "net/quic/quic_flags.h" 18 #include "net/quic/core/quic_flags.h"
19 19
20 using std::max; 20 using std::max;
21 using std::min; 21 using std::min;
22 using std::pair; 22 using std::pair;
23 23
24 namespace net { 24 namespace net {
25 25
26 namespace { 26 namespace {
27 static const int64_t kDefaultRetransmissionTimeMs = 500; 27 static const int64_t kDefaultRetransmissionTimeMs = 500;
28 static const int64_t kMaxRetransmissionTimeMs = 60000; 28 static const int64_t kMaxRetransmissionTimeMs = 60000;
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 TransmissionInfo* QuicSentPacketManager::GetMutableTransmissionInfo( 994 TransmissionInfo* QuicSentPacketManager::GetMutableTransmissionInfo(
995 QuicPacketNumber packet_number) { 995 QuicPacketNumber packet_number) {
996 return unacked_packets_.GetMutableTransmissionInfo(packet_number); 996 return unacked_packets_.GetMutableTransmissionInfo(packet_number);
997 } 997 }
998 998
999 void QuicSentPacketManager::RemoveObsoletePackets() { 999 void QuicSentPacketManager::RemoveObsoletePackets() {
1000 unacked_packets_.RemoveObsoletePackets(); 1000 unacked_packets_.RemoveObsoletePackets();
1001 } 1001 }
1002 1002
1003 } // namespace net 1003 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_sent_packet_manager.h ('k') | net/quic/core/quic_sent_packet_manager_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698