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

Side by Side Diff: net/quic/congestion_control/time_loss_algorithm.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef NET_QUIC_CONGESTION_CONTROL_TIME_LOSS_ALGORITHM_H_ 5 #ifndef NET_QUIC_CONGESTION_CONTROL_TIME_LOSS_ALGORITHM_H_
6 #define NET_QUIC_CONGESTION_CONTROL_TIME_LOSS_ALGORITHM_H_ 6 #define NET_QUIC_CONGESTION_CONTROL_TIME_LOSS_ALGORITHM_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <map> 9 #include <map>
10 10
11 #include "base/basictypes.h" 11 #include "base/macros.h"
12 #include "net/quic/congestion_control/loss_detection_interface.h" 12 #include "net/quic/congestion_control/loss_detection_interface.h"
13 #include "net/quic/quic_protocol.h" 13 #include "net/quic/quic_protocol.h"
14 #include "net/quic/quic_time.h" 14 #include "net/quic/quic_time.h"
15 #include "net/quic/quic_unacked_packet_map.h" 15 #include "net/quic/quic_unacked_packet_map.h"
16 16
17 namespace net { 17 namespace net {
18 18
19 // A loss detection algorithm which avoids spurious losses and retransmissions 19 // A loss detection algorithm which avoids spurious losses and retransmissions
20 // by waiting 1.25 RTTs after a packet was sent instead of nack count. 20 // by waiting 1.25 RTTs after a packet was sent instead of nack count.
21 class NET_EXPORT_PRIVATE TimeLossAlgorithm : public LossDetectionInterface { 21 class NET_EXPORT_PRIVATE TimeLossAlgorithm : public LossDetectionInterface {
(...skipping 27 matching lines...) Expand all
49 49
50 private: 50 private:
51 QuicTime loss_detection_timeout_; 51 QuicTime loss_detection_timeout_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(TimeLossAlgorithm); 53 DISALLOW_COPY_AND_ASSIGN(TimeLossAlgorithm);
54 }; 54 };
55 55
56 } // namespace net 56 } // namespace net
57 57
58 #endif // NET_QUIC_CONGESTION_CONTROL_TIME_LOSS_ALGORITHM_H_ 58 #endif // NET_QUIC_CONGESTION_CONTROL_TIME_LOSS_ALGORITHM_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/tcp_loss_algorithm_test.cc ('k') | net/quic/congestion_control/time_loss_algorithm_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698