Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h |
index 2eacf0c877927e3875c8ebd848ad72b37141aafc..38442c8f4036ad8b4b4f06dadd60e16022e4d146 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h |
@@ -211,17 +211,13 @@ class DataReductionProxyConfig |
virtual base::TimeTicks GetTicksNow() const; |
+ // Updates the Data Reduction Proxy configurator with the current config. |
+ void UpdateConfigForTesting(bool enabled, bool restricted); |
+ |
private: |
- friend class DataReductionProxyConfigTest; |
friend class MockDataReductionProxyConfig; |
friend class TestDataReductionProxyConfig; |
FRIEND_TEST_ALL_PREFIXES(DataReductionProxyConfigTest, |
- TestGetDataReductionProxies); |
- FRIEND_TEST_ALL_PREFIXES(DataReductionProxyConfigTest, |
- TestOnIPAddressChanged); |
- FRIEND_TEST_ALL_PREFIXES(DataReductionProxyConfigTest, |
- TestOnIPAddressChanged_SecureProxyDisabledByDefault); |
- FRIEND_TEST_ALL_PREFIXES(DataReductionProxyConfigTest, |
TestSetProxyConfigsHoldback); |
FRIEND_TEST_ALL_PREFIXES(DataReductionProxyConfigTest, |
AreProxiesBypassed); |
@@ -246,9 +242,6 @@ class DataReductionProxyConfig |
// NetworkChangeNotifier::IPAddressObserver: |
void OnIPAddressChanged() override; |
- // Updates the Data Reduction Proxy configurator with the current config. |
- virtual void UpdateConfigurator(bool enabled, bool restricted); |
- |
// Populates the parameters for the Lo-Fi field trial if the session is part |
// of either Lo-Fi enabled or Lo-Fi control field trial group. |
void PopulateAutoLoFiParams(); |