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

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

Issue 391383002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merging with TOT Created 6 years, 5 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 #include "net/quic/congestion_control/fix_rate_sender.h" 5 #include "net/quic/congestion_control/fix_rate_sender.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 QuicTime::Delta FixRateSender::RetransmissionDelay() const { 94 QuicTime::Delta FixRateSender::RetransmissionDelay() const {
95 // TODO(pwestin): Calculate and return retransmission delay. 95 // TODO(pwestin): Calculate and return retransmission delay.
96 // Use 2 * the latest RTT for now. 96 // Use 2 * the latest RTT for now.
97 return latest_rtt_.Add(latest_rtt_); 97 return latest_rtt_.Add(latest_rtt_);
98 } 98 }
99 99
100 QuicByteCount FixRateSender::GetCongestionWindow() const { 100 QuicByteCount FixRateSender::GetCongestionWindow() const {
101 return 0; 101 return 0;
102 } 102 }
103 103
104 bool FixRateSender::InSlowStart() const {
105 return false;
106 }
107
108 QuicByteCount FixRateSender::GetSlowStartThreshold() const {
109 return 0;
110 }
111
104 } // namespace net 112 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/congestion_control/fix_rate_sender.h ('k') | net/quic/congestion_control/pacing_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698