| Index: chrome/browser/net/nqe/ui_network_quality_estimator_service.h
|
| diff --git a/chrome/browser/net/nqe/ui_network_quality_estimator_service.h b/chrome/browser/net/nqe/ui_network_quality_estimator_service.h
|
| index 1d6a98e91b30684c68a520cc845de7ba48176ffc..cc2073182c4ed7ccc7373bd4650ff60be025d611 100644
|
| --- a/chrome/browser/net/nqe/ui_network_quality_estimator_service.h
|
| +++ b/chrome/browser/net/nqe/ui_network_quality_estimator_service.h
|
| @@ -9,15 +9,18 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "components/keyed_service/core/keyed_service.h"
|
| #include "net/nqe/effective_connection_type.h"
|
| +#include "net/nqe/network_quality_estimator.h"
|
|
|
| // UI service to determine the current EffectiveConnectionType.
|
| -class UINetworkQualityEstimatorService : public KeyedService {
|
| +class UINetworkQualityEstimatorService
|
| + : public KeyedService,
|
| + public net::NetworkQualityEstimator::NetworkQualityProvider {
|
| public:
|
| UINetworkQualityEstimatorService();
|
| ~UINetworkQualityEstimatorService() override;
|
|
|
| // The current EffectiveConnectionType.
|
| - net::EffectiveConnectionType GetEffectiveConnectionType() const;
|
| + net::EffectiveConnectionType GetEffectiveConnectionType() override;
|
|
|
| // Tests can manually set EffectiveConnectionType, but browser tests should
|
| // expect that the EffectiveConnectionType could change.
|
|
|