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

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

Issue 182523002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed rch's comments in Patch set 1 of CL 181463007 Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Fix rate send side congestion control, used for testing. 5 // Fix rate send side congestion control, used for testing.
6 6
7 #ifndef NET_QUIC_CONGESTION_CONTROL_FIX_RATE_SENDER_H_ 7 #ifndef NET_QUIC_CONGESTION_CONTROL_FIX_RATE_SENDER_H_
8 #define NET_QUIC_CONGESTION_CONTROL_FIX_RATE_SENDER_H_ 8 #define NET_QUIC_CONGESTION_CONTROL_FIX_RATE_SENDER_H_
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "net/base/net_export.h" 12 #include "net/base/net_export.h"
13 #include "net/quic/quic_clock.h" 13 #include "net/quic/quic_clock.h"
14 #include "net/quic/quic_connection_stats.h"
14 #include "net/quic/quic_time.h" 15 #include "net/quic/quic_time.h"
15 #include "net/quic/congestion_control/leaky_bucket.h" 16 #include "net/quic/congestion_control/leaky_bucket.h"
16 #include "net/quic/congestion_control/paced_sender.h" 17 #include "net/quic/congestion_control/paced_sender.h"
17 #include "net/quic/congestion_control/send_algorithm_interface.h" 18 #include "net/quic/congestion_control/send_algorithm_interface.h"
18 19
19 namespace net { 20 namespace net {
20 21
21 class NET_EXPORT_PRIVATE FixRateSender : public SendAlgorithmInterface { 22 class NET_EXPORT_PRIVATE FixRateSender : public SendAlgorithmInterface {
22 public: 23 public:
23 explicit FixRateSender(const QuicClock* clock); 24 explicit FixRateSender(const QuicClock* clock);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 PacedSender paced_sender_; 63 PacedSender paced_sender_;
63 QuicByteCount data_in_flight_; 64 QuicByteCount data_in_flight_;
64 QuicTime::Delta latest_rtt_; 65 QuicTime::Delta latest_rtt_;
65 66
66 DISALLOW_COPY_AND_ASSIGN(FixRateSender); 67 DISALLOW_COPY_AND_ASSIGN(FixRateSender);
67 }; 68 };
68 69
69 } // namespace net 70 } // namespace net
70 71
71 #endif // NET_QUIC_CONGESTION_CONTROL_FIX_RATE_SENDER_H_ 72 #endif // NET_QUIC_CONGESTION_CONTROL_FIX_RATE_SENDER_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/cubic_test.cc ('k') | net/quic/congestion_control/loss_detection_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698