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 f3de4a365701add8e2718b3006750ccbffbfe236..3f22cb20701cbb6a30039b4b2835802b27f726aa 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 |
@@ -74,10 +74,6 @@ class TestDataReductionProxyConfig : public DataReductionProxyConfig { |
// TODO(jeremyim): Rationalize with test_params(). |
DataReductionProxyConfigValues* config_values(); |
- // Allows tests to set the internal state. |
- void SetStateForTest(bool enabled_by_user, |
- bool secure_proxy_enabled); |
- |
// Resets the Lo-Fi status to default state. |
void ResetLoFiStatusForTest(); |
@@ -118,6 +114,8 @@ class TestDataReductionProxyConfig : public DataReductionProxyConfig { |
// Resets the behavior of WasDataReductionProxyUsed() calls. |
void ResetWasDataReductionProxyUsed(); |
+ using DataReductionProxyConfig::UpdateConfigForTesting; |
+ |
private: |
base::TickClock* tick_clock_; |
@@ -172,7 +170,7 @@ class MockDataReductionProxyConfig : public TestDataReductionProxyConfig { |
IsNetworkQualityProhibitivelySlow, |
bool(const net::NetworkQualityEstimator* network_quality_estimator)); |
- void UpdateConfigurator(bool enabled, bool restricted) override; |
+ using DataReductionProxyConfig::UpdateConfigForTesting; |
// Resets the Lo-Fi status to default state. |
void ResetLoFiStatusForTest(); |