| Index: net/nqe/network_quality_estimator.h
|
| diff --git a/net/nqe/network_quality_estimator.h b/net/nqe/network_quality_estimator.h
|
| index cb2ec31e6fed82cea8d8d760ebb06705a3a17d20..f1cb34844ee6834a9520d26de63c50fbeeaa00f6 100644
|
| --- a/net/nqe/network_quality_estimator.h
|
| +++ b/net/nqe/network_quality_estimator.h
|
| @@ -149,20 +149,28 @@ class NET_EXPORT NetworkQualityEstimator
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(ThroughputObserver);
|
| };
|
|
|
| // Provides simple interface to obtain the effective connection type.
|
| class NET_EXPORT NetworkQualityProvider {
|
| public:
|
| // Returns the current effective connection type.
|
| virtual EffectiveConnectionType GetEffectiveConnectionType() const = 0;
|
|
|
| + // Adds |observer| to a list of effective connection type observers.
|
| + virtual void AddEffectiveConnectionTypeObserver(
|
| + EffectiveConnectionTypeObserver* observer) = 0;
|
| +
|
| + // Removes |observer| from a list of effective connection type observers.
|
| + virtual void RemoveEffectiveConnectionTypeObserver(
|
| + EffectiveConnectionTypeObserver* observer) = 0;
|
| +
|
| virtual ~NetworkQualityProvider() {}
|
|
|
| protected:
|
| NetworkQualityProvider() {}
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(NetworkQualityProvider);
|
| };
|
|
|
| // Creates a new NetworkQualityEstimator.
|
|
|