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

Unified Diff: net/quic/quic_sustained_bandwidth_recorder.h

Issue 495233002: QUIC minor clean up to keep in sync with internal sources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Move_least_packet_awaited_by_peer_73630593
Patch Set: 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_dispatcher.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.h
diff --git a/net/quic/quic_sustained_bandwidth_recorder.h b/net/quic/quic_sustained_bandwidth_recorder.h
index aa5a4c916f510ea5fcf92e656ae2cee3c8414a11..11685d2817e417c81604e9390ccf9767053b48f6 100644
--- a/net/quic/quic_sustained_bandwidth_recorder.h
+++ b/net/quic/quic_sustained_bandwidth_recorder.h
@@ -48,7 +48,7 @@ class NET_EXPORT_PRIVATE QuicSustainedBandwidthRecorder {
return max_bandwidth_estimate_;
}
- int32 MaxBandwidthTimestamp() const {
+ int64 MaxBandwidthTimestamp() const {
DCHECK(has_estimate_);
return max_bandwidth_timestamp_;
}
@@ -79,7 +79,7 @@ class NET_EXPORT_PRIVATE QuicSustainedBandwidthRecorder {
QuicBandwidth max_bandwidth_estimate_;
// Timestamp indicating when the max_bandwidth_estimate_ was seen.
- int32 max_bandwidth_timestamp_;
+ int64 max_bandwidth_timestamp_;
// Timestamp marking the beginning of the latest recording period.
QuicTime start_time_;
« no previous file with comments | « net/quic/quic_dispatcher.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