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

Unified Diff: components/metrics/net/network_metrics_provider.cc

Issue 2663023002: Mark ECT as ambiguous if there is a change in the connection type. (Closed)
Patch Set: Created 3 years, 11 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: components/metrics/net/network_metrics_provider.cc
diff --git a/components/metrics/net/network_metrics_provider.cc b/components/metrics/net/network_metrics_provider.cc
index d392bf819a8ec04353edae6f6adcf172a6881344..bf565300894856d220d55606db1af8d7d2421d22 100644
--- a/components/metrics/net/network_metrics_provider.cc
+++ b/components/metrics/net/network_metrics_provider.cc
@@ -225,6 +225,7 @@ void NetworkMetricsProvider::OnConnectionTypeChanged(
if (type != connection_type_ &&
connection_type_ != net::NetworkChangeNotifier::CONNECTION_NONE) {
connection_type_is_ambiguous_ = true;
+ effective_connection_type_is_ambiguous_ = true;
}
connection_type_ = type;
« no previous file with comments | « components/metrics/net/network_metrics_provider.h ('k') | components/metrics/net/network_metrics_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698