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

Unified Diff: net/nqe/network_quality_estimator.h

Issue 2911473002: Expose transport RTT estimate from Network Quality Estimator (NQE) (Closed)
Patch Set: ps Created 3 years, 7 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.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/nqe/network_quality_estimator.h
diff --git a/net/nqe/network_quality_estimator.h b/net/nqe/network_quality_estimator.h
index e9798fbf4298626027fec7d29f897fc978788298..7e57bdf51c44f813b1a17f6c993ab5a898b2cdf9 100644
--- a/net/nqe/network_quality_estimator.h
+++ b/net/nqe/network_quality_estimator.h
@@ -341,6 +341,10 @@ class NET_EXPORT NetworkQualityEstimator
const std::map<nqe::internal::NetworkID,
nqe::internal::CachedNetworkQuality> read_prefs);
+ // Returns the current transport RTT estimate. If the estimate is unavailable,
+ // the returned optional value is null.
RyanSturm 2017/05/25 23:05:50 nit:s/value is null/has no value/
tbansal1 2017/05/26 01:29:28 Done.
+ base::Optional<base::TimeDelta> GetTransportRTT() const;
+
protected:
// A protected constructor for testing that allows setting the value of
// |add_default_platform_observations_|.
« no previous file with comments | « no previous file | net/nqe/network_quality_estimator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698