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

Unified Diff: net/nqe/network_quality.h

Issue 2113363002: NQE: Add Transport RTT based GetECT algorithm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/nqe/network_quality_estimator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/nqe/network_quality.h
diff --git a/net/nqe/network_quality.h b/net/nqe/network_quality.h
index 2c7372fd898083c3aa9375f84b46e3a782719d4e..bc1ec771d688d8af0500a1b61265f5941fcb0acf 100644
--- a/net/nqe/network_quality.h
+++ b/net/nqe/network_quality.h
@@ -46,15 +46,25 @@ class NET_EXPORT_PRIVATE NetworkQuality {
// Returns the estimate of the round trip time at the HTTP layer.
const base::TimeDelta& http_rtt() const { return http_rtt_; }
+ void set_http_rtt(const base::TimeDelta& http_rtt) { http_rtt_ = http_rtt; }
+
// Returns the estimate of the round trip time at the transport layer.
const base::TimeDelta& transport_rtt() const { return transport_rtt_; }
+ void set_transport_rtt(const base::TimeDelta& transport_rtt) {
+ transport_rtt_ = transport_rtt;
+ }
+
// Returns the estimate of the downstream throughput in Kbps (Kilobits per
// second).
int32_t downstream_throughput_kbps() const {
return downstream_throughput_kbps_;
}
+ void set_downstream_throughput_kbps(int32_t downstream_throughput_kbps) {
+ downstream_throughput_kbps_ = downstream_throughput_kbps;
+ }
+
private:
// Estimated round trip time at the HTTP layer.
base::TimeDelta http_rtt_;
« no previous file with comments | « no previous file | net/nqe/network_quality_estimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698