Index: net/nqe/network_quality_estimator.h |
diff --git a/net/nqe/network_quality_estimator.h b/net/nqe/network_quality_estimator.h |
index 248d2089d5ac00583d178efc580ec631920b56bf..d23ec5b0cad8090383a3bde844dbd4007196d01a 100644 |
--- a/net/nqe/network_quality_estimator.h |
+++ b/net/nqe/network_quality_estimator.h |
@@ -120,6 +120,21 @@ class NET_EXPORT NetworkQualityEstimator |
DISALLOW_COPY_AND_ASSIGN(ThroughputObserver); |
}; |
+ // Provides simple interface to obtain the effective connection type. |
+ class NET_EXPORT NetworkQualityProvider { |
RyanSturm
2016/09/16 18:54:46
NetworkQualityEstimator has the same signature for
tbansal1
2016/09/16 19:13:50
Lets do that later, not now. If we do it, then ide
dougarnett
2016/09/16 21:24:43
+1 I could add a TODO if you like.
RyanSturm
2016/09/19 17:15:40
Don't worry about adding the TODO. We're not sure
|
+ public: |
+ // Returns the current effective connection type. |
+ virtual EffectiveConnectionType GetEffectiveConnectionType() = 0; |
+ |
+ virtual ~NetworkQualityProvider() {} |
+ |
+ protected: |
+ NetworkQualityProvider() {} |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(NetworkQualityProvider); |
+ }; |
+ |
// Creates a new NetworkQualityEstimator. |
// |variation_params| is the map containing all field trial parameters |
// related to NetworkQualityEstimator field trial. |