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

Unified Diff: net/nqe/network_quality_estimator.cc

Issue 2724403004: NQE: Add net log event if the metric changes substantially (Closed)
Patch Set: ryansturm comments Created 3 years, 10 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/nqe/event_creator_unittest.cc ('k') | net/nqe/network_quality_estimator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/nqe/network_quality_estimator.cc
diff --git a/net/nqe/network_quality_estimator.cc b/net/nqe/network_quality_estimator.cc
index b8861b30e0d7c1c364d499c9e5279a0b17b6915e..55c2e89979c5df3ecfc3ef8b51c25c6ad444a630 100644
--- a/net/nqe/network_quality_estimator.cc
+++ b/net/nqe/network_quality_estimator.cc
@@ -795,7 +795,7 @@ void NetworkQualityEstimator::ReportEffectiveConnectionTypeForTesting(
EffectiveConnectionType effective_connection_type) {
DCHECK(thread_checker_.CalledOnValidThread());
- event_creator_.MaybeAddEffectiveConnectionTypeChangedEventToNetLog(
+ event_creator_.MaybeAddNetworkQualityChangedEventToNetLog(
effective_connection_type_,
typical_network_quality_[effective_connection_type]);
@@ -1104,7 +1104,7 @@ void NetworkQualityEstimator::ComputeEffectiveConnectionType() {
if (past_type != effective_connection_type_)
NotifyObserversOfEffectiveConnectionTypeChanged();
- event_creator_.MaybeAddEffectiveConnectionTypeChangedEventToNetLog(
+ event_creator_.MaybeAddNetworkQualityChangedEventToNetLog(
effective_connection_type_, network_quality_);
rtt_observations_size_at_last_ect_computation_ = rtt_observations_.Size();
« no previous file with comments | « net/nqe/event_creator_unittest.cc ('k') | net/nqe/network_quality_estimator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698