| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h
|
| index 05b59b391e332dbb0997aada8a41e1f565c5d584..c477a1b47793e834ffb8fe35749b10c48b0560ef 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h
|
| @@ -87,12 +87,6 @@ class TestDataReductionProxyConfig : public DataReductionProxyConfig {
|
| return network_interfaces_.get();
|
| }
|
|
|
| - void SetLofiAccuracyRecordingIntervals(
|
| - const std::vector<base::TimeDelta>& lofi_accuracy_recording_intervals);
|
| -
|
| - const std::vector<base::TimeDelta>& GetLofiAccuracyRecordingIntervals()
|
| - const override;
|
| -
|
| // Sets the |tick_clock_| to |tick_clock|. Ownership of |tick_clock| is not
|
| // passed to the callee.
|
| void SetTickClock(base::TickClock* tick_clock);
|
| @@ -117,6 +111,11 @@ class TestDataReductionProxyConfig : public DataReductionProxyConfig {
|
| // Sets if the captive portal probe has been blocked for the current network.
|
| void SetIsCaptivePortal(bool is_captive_portal);
|
|
|
| + void SetConnectionTypeForTesting(
|
| + net::NetworkChangeNotifier::ConnectionType connection_type) {
|
| + connection_type_ = connection_type;
|
| + }
|
| +
|
| using DataReductionProxyConfig::UpdateConfigForTesting;
|
|
|
| private:
|
| @@ -130,12 +129,9 @@ class TestDataReductionProxyConfig : public DataReductionProxyConfig {
|
| std::unique_ptr<net::NetworkInterfaceList> network_interfaces_;
|
|
|
| bool network_quality_prohibitively_slow_set_;
|
| - // True if the network quality is slow enough to turn Lo-Fi ON.
|
| + // True if the network quality is slow enough to turn Lo-Fi ON (for fallback).
|
| bool network_quality_prohibitively_slow_;
|
|
|
| - bool lofi_accuracy_recording_intervals_set_;
|
| - std::vector<base::TimeDelta> lofi_accuracy_recording_intervals_;
|
| -
|
| // Set to true if the captive portal probe for the current network has been
|
| // blocked.
|
| bool is_captive_portal_;
|
| @@ -175,9 +171,6 @@ class MockDataReductionProxyConfig : public TestDataReductionProxyConfig {
|
| MOCK_METHOD2(SecureProxyCheck,
|
| void(const GURL& secure_proxy_check_url,
|
| FetcherResponseCallback fetcher_callback));
|
| - MOCK_METHOD1(
|
| - IsNetworkQualityProhibitivelySlow,
|
| - bool(const net::NetworkQualityEstimator* network_quality_estimator));
|
|
|
| using DataReductionProxyConfig::UpdateConfigForTesting;
|
|
|
|
|