| Index: net/nqe/network_quality_estimator.h
|
| diff --git a/net/nqe/network_quality_estimator.h b/net/nqe/network_quality_estimator.h
|
| index d11b4841628cec93f6b83ffb75f15e6cd50f8035..33c6c989dd386c489be1a1194e2f0e8a5bf88ef3 100644
|
| --- a/net/nqe/network_quality_estimator.h
|
| +++ b/net/nqe/network_quality_estimator.h
|
| @@ -256,6 +256,14 @@ class NET_EXPORT_PRIVATE NetworkQualityEstimator
|
|
|
| SocketPerformanceWatcherFactory* GetSocketPerformanceWatcherFactory();
|
|
|
| + // Returns a string equivalent to |type|.
|
| + static const char* GetNameForEffectiveConnectionType(
|
| + EffectiveConnectionType type);
|
| +
|
| + // Returns an EffectiveConnectionType equivalent to |connection_type_name|.
|
| + static EffectiveConnectionType GetEffectiveConnectionTypeForName(
|
| + const std::string& connection_type_name);
|
| +
|
| protected:
|
| // NetworkID is used to uniquely identify a network.
|
| // For the purpose of network quality estimation and caching, a network is
|
| @@ -306,10 +314,6 @@ class NET_EXPORT_PRIVATE NetworkQualityEstimator
|
| int32_t downstream_throughput_kbps,
|
| int32_t upstream_throughput_kbps) override;
|
|
|
| - // Return a string equivalent to |type|.
|
| - const char* GetNameForEffectiveConnectionType(
|
| - EffectiveConnectionType type) const;
|
| -
|
| // Returns the list of intervals at which the accuracy of network quality
|
| // prediction should be recorded. Virtualized for testing.
|
| virtual const std::vector<base::TimeDelta>& GetAccuracyRecordingIntervals()
|
|
|