Index: net/nqe/throughput_analyzer.h |
diff --git a/net/nqe/throughput_analyzer.h b/net/nqe/throughput_analyzer.h |
index e94102ba6f4c280c3a0030f335b916ca3be8b443..199c3d30bf1c8b2237cc4a338e069783309dd46a 100644 |
--- a/net/nqe/throughput_analyzer.h |
+++ b/net/nqe/throughput_analyzer.h |
@@ -31,6 +31,8 @@ namespace nqe { |
namespace internal { |
+class NetworkQualityEstimatorParams; |
+ |
// Makes throughput observations. Polls NetworkActivityMonitor |
// (TrafficStats on Android) to count number of bits received over throughput |
// observation windows in accordance with the following rules: |
@@ -55,6 +57,7 @@ class NET_EXPORT_PRIVATE ThroughputAnalyzer { |
// estimation. |
// Virtualized for testing. |
ThroughputAnalyzer( |
+ const NetworkQualityEstimatorParams* params, |
scoped_refptr<base::SingleThreadTaskRunner> task_runner, |
ThroughputObservationCallback throughput_observation_callback, |
bool use_local_host_requests_for_tests, |
@@ -133,6 +136,7 @@ class NET_EXPORT_PRIVATE ThroughputAnalyzer { |
// do not exceed their capacities. |
void BoundRequestsSize(); |
+ const NetworkQualityEstimatorParams* params_; |
scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
// Called every time a new throughput observation is available. |