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..9d336f4f85cfe2fa8e36f417544559fbaab3d12e 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() const override; |
// Tests can manually set EffectiveConnectionType, but browser tests should |
// expect that the EffectiveConnectionType could change. |