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

Unified Diff: net/quic/quic_sustained_bandwidth_recorder.cc

Issue 497553004: Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase with TOT Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_sustained_bandwidth_recorder.h ('k') | net/quic/quic_sustained_bandwidth_recorder_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_sustained_bandwidth_recorder.cc
diff --git a/net/quic/quic_sustained_bandwidth_recorder.cc b/net/quic/quic_sustained_bandwidth_recorder.cc
index 458bbf1a1814b86de51199ecd7160044b219a78d..41aa51e70710c9683225be49e1b8b7d82dbed6f7 100644
--- a/net/quic/quic_sustained_bandwidth_recorder.cc
+++ b/net/quic/quic_sustained_bandwidth_recorder.cc
@@ -19,16 +19,15 @@ QuicSustainedBandwidthRecorder::QuicSustainedBandwidthRecorder()
max_bandwidth_timestamp_(0),
start_time_(QuicTime::Zero()) {}
-void QuicSustainedBandwidthRecorder::RecordEstimate(bool is_reliable_estimate,
+void QuicSustainedBandwidthRecorder::RecordEstimate(bool in_recovery,
bool in_slow_start,
QuicBandwidth bandwidth,
QuicTime estimate_time,
QuicWallTime wall_time,
QuicTime::Delta srtt) {
- if (!is_reliable_estimate) {
+ if (in_recovery) {
is_recording_ = false;
- DVLOG(1) << "Stopped recording due to unreliable estimate at: "
- << estimate_time.ToDebuggingValue();
+ DVLOG(1) << "Stopped recording at: " << estimate_time.ToDebuggingValue();
return;
}
« no previous file with comments | « net/quic/quic_sustained_bandwidth_recorder.h ('k') | net/quic/quic_sustained_bandwidth_recorder_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698