| 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 671e35ca435fdf776a206e29e2a0bbf919ceb0b1..0f225957610a905d5150ebfc68fb7c7619856c5a 100644
|
| --- a/chrome/browser/net/nqe/ui_network_quality_estimator_service.h
|
| +++ b/chrome/browser/net/nqe/ui_network_quality_estimator_service.h
|
| @@ -8,7 +8,7 @@
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "components/keyed_service/core/keyed_service.h"
|
| -#include "net/nqe/network_quality_estimator.h"
|
| +#include "net/nqe/effective_connection_type.h"
|
|
|
| // UI service to determine the current EffectiveConnectionType.
|
| class UINetworkQualityEstimatorService : public KeyedService {
|
| @@ -17,8 +17,7 @@ class UINetworkQualityEstimatorService : public KeyedService {
|
| ~UINetworkQualityEstimatorService() override;
|
|
|
| // The current EffectiveConnectionType.
|
| - net::NetworkQualityEstimator::EffectiveConnectionType
|
| - GetEffectiveConnectionType() const;
|
| + net::EffectiveConnectionType GetEffectiveConnectionType() const;
|
|
|
| private:
|
| class IONetworkQualityObserver;
|
| @@ -30,11 +29,10 @@ class UINetworkQualityEstimatorService : public KeyedService {
|
| // NetworkQualityEstimator::EffectiveConnectionType is an estimate of the
|
| // quality of the network that may differ from the actual network type
|
| // reported by NetworkchangeNotifier::GetConnectionType.
|
| - void EffectiveConnectionTypeChanged(
|
| - net::NetworkQualityEstimator::EffectiveConnectionType type);
|
| + void EffectiveConnectionTypeChanged(net::EffectiveConnectionType type);
|
|
|
| // The current EffectiveConnectionType.
|
| - net::NetworkQualityEstimator::EffectiveConnectionType type_;
|
| + net::EffectiveConnectionType type_;
|
|
|
| // IO thread based observer that is owned by this service. Created on the UI
|
| // thread, but used and deleted on the IO thread.
|
|
|