| Index: net/nqe/network_quality_estimator.cc
|
| diff --git a/net/nqe/network_quality_estimator.cc b/net/nqe/network_quality_estimator.cc
|
| index 93e177d07803d2e5bf6a3798106f1792a317f7ad..e1685d5c9654ec2a028858b6aaea08a8a3647234 100644
|
| --- a/net/nqe/network_quality_estimator.cc
|
| +++ b/net/nqe/network_quality_estimator.cc
|
| @@ -776,6 +776,18 @@ void NetworkQualityEstimator::RecordMetricsOnMainFrameRequest() const {
|
| "MainFrame.Kbps.Percentile50.", current_network_id_.type, 1000 * 1000);
|
| throughput_percentile->Add(kbps);
|
| }
|
| +
|
| + const EffectiveConnectionType effective_connection_type =
|
| + GetEffectiveConnectionType();
|
| + base::HistogramBase* effective_connection_type_histogram =
|
| + base::Histogram::FactoryGet(
|
| + std::string("NQE.MainFrame.EffectiveConnectionType.") +
|
| + GetNameForConnectionType(current_network_id_.type),
|
| + 0, EFFECTIVE_CONNECTION_TYPE_LAST,
|
| + EFFECTIVE_CONNECTION_TYPE_LAST /* Number of buckets */,
|
| + base::HistogramBase::kUmaTargetedHistogramFlag);
|
| +
|
| + effective_connection_type_histogram->Add(effective_connection_type);
|
| }
|
|
|
| NetworkQualityEstimator::EffectiveConnectionType
|
|
|