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

Unified Diff: net/nqe/network_quality_estimator_params.h

Issue 2763853002: Use Android callback API to obtain cellular signal strength (Closed)
Patch Set: pauljensen comments Created 3 years, 6 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
Index: net/nqe/network_quality_estimator_params.h
diff --git a/net/nqe/network_quality_estimator_params.h b/net/nqe/network_quality_estimator_params.h
index f543a54e41a275e20fcdea276783cffbf7e0115d..321fea4785fca49b60c0a9698a3ea2b3b7b0f9a6 100644
--- a/net/nqe/network_quality_estimator_params.h
+++ b/net/nqe/network_quality_estimator_params.h
@@ -74,10 +74,10 @@ class NET_EXPORT_PRIVATE NetworkQualityEstimatorParams {
}
// Returns the factor by which the weight of an observation reduces for every
- // dBm difference between the current signal strength (in dBm), and the signal
- // strength at the time when the observation was taken.
- double weight_multiplier_per_dbm() const {
- return weight_multiplier_per_dbm_;
+ // signal strength level difference between the current signal strength, and
+ // the signal strength at the time when the observation was taken.
+ double weight_multiplier_per_signal_strength_level() const {
+ return weight_multiplier_per_signal_strength_level_;
}
// Returns the fraction of URL requests that should record the correlation
@@ -112,7 +112,7 @@ class NET_EXPORT_PRIVATE NetworkQualityEstimatorParams {
const size_t throughput_min_requests_in_flight_;
const double weight_multiplier_per_second_;
- const double weight_multiplier_per_dbm_;
+ const double weight_multiplier_per_signal_strength_level_;
const double correlation_uma_logging_probability_;
const base::Optional<EffectiveConnectionType>
forced_effective_connection_type_;

Powered by Google App Engine
This is Rietveld 408576698