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

Side by Side Diff: net/quic/congestion_control/loss_detection_interface.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 // The pure virtual class for send side loss detection algorithm. 5 // The pure virtual class for send side loss detection algorithm.
6 6
7 #ifndef NET_QUIC_CONGESTION_CONTROL_LOSS_DETECTION_INTERFACE_H_ 7 #ifndef NET_QUIC_CONGESTION_CONTROL_LOSS_DETECTION_INTERFACE_H_
8 #define NET_QUIC_CONGESTION_CONTROL_LOSS_DETECTION_INTERFACE_H_ 8 #define NET_QUIC_CONGESTION_CONTROL_LOSS_DETECTION_INTERFACE_H_
9 9
10 #include "base/basictypes.h"
11 #include "net/quic/congestion_control/send_algorithm_interface.h" 10 #include "net/quic/congestion_control/send_algorithm_interface.h"
12 #include "net/quic/quic_protocol.h" 11 #include "net/quic/quic_protocol.h"
13 #include "net/quic/quic_time.h" 12 #include "net/quic/quic_time.h"
14 13
15 namespace net { 14 namespace net {
16 15
17 class QuicUnackedPacketMap; 16 class QuicUnackedPacketMap;
18 class RttStats; 17 class RttStats;
19 18
20 class NET_EXPORT_PRIVATE LossDetectionInterface { 19 class NET_EXPORT_PRIVATE LossDetectionInterface {
(...skipping 19 matching lines...) Expand all
40 SendAlgorithmInterface::CongestionVector* packets_lost) = 0; 39 SendAlgorithmInterface::CongestionVector* packets_lost) = 0;
41 40
42 // Get the time the LossDetectionAlgorithm wants to re-evaluate losses. 41 // Get the time the LossDetectionAlgorithm wants to re-evaluate losses.
43 // Returns QuicTime::Zero if no alarm needs to be set. 42 // Returns QuicTime::Zero if no alarm needs to be set.
44 virtual QuicTime GetLossTimeout() const = 0; 43 virtual QuicTime GetLossTimeout() const = 0;
45 }; 44 };
46 45
47 } // namespace net 46 } // namespace net
48 47
49 #endif // NET_QUIC_CONGESTION_CONTROL_LOSS_DETECTION_INTERFACE_H_ 48 #endif // NET_QUIC_CONGESTION_CONTROL_LOSS_DETECTION_INTERFACE_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/hybrid_slow_start.cc ('k') | net/quic/congestion_control/pacing_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698