| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc
|
| index 6bf0dfb65e02a81bb9c5c27d1d7c3d182f6fd93f..6275c4d4dd0051f7738d52f79ce6a1a032e17a58 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc
|
| @@ -997,13 +997,13 @@ class TestNetworkQualityEstimator : public net::NetworkQualityEstimator {
|
|
|
| ~TestNetworkQualityEstimator() override {}
|
|
|
| - bool GetRTTEstimate(base::TimeDelta* rtt) const override {
|
| + bool GetRTTEstimate(base::TimeDelta* rtt) override {
|
| DCHECK(rtt);
|
| *rtt = rtt_estimate_;
|
| return true;
|
| }
|
|
|
| - bool GetDownlinkThroughputKbpsEstimate(int32_t* kbps) const override {
|
| + bool GetDownlinkThroughputKbpsEstimate(int32_t* kbps) override {
|
| DCHECK(kbps);
|
| *kbps = downstream_throughput_kbps_estimate_;
|
| return true;
|
| @@ -1012,7 +1012,7 @@ class TestNetworkQualityEstimator : public net::NetworkQualityEstimator {
|
| void SetRTT(base::TimeDelta rtt) { rtt_estimate_ = rtt; }
|
|
|
| bool GetRecentMedianRTT(const base::TimeTicks& begin_timestamp,
|
| - base::TimeDelta* rtt) const override {
|
| + base::TimeDelta* rtt) override {
|
| DCHECK(rtt);
|
| *rtt = rtt_since_;
|
| return true;
|
| @@ -1020,7 +1020,7 @@ class TestNetworkQualityEstimator : public net::NetworkQualityEstimator {
|
|
|
| bool GetRecentMedianDownlinkThroughputKbps(
|
| const base::TimeTicks& begin_timestamp,
|
| - int32_t* kbps) const override {
|
| + int32_t* kbps) override {
|
| DCHECK(kbps);
|
| *kbps = INT32_MAX;
|
| return true;
|
|
|