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..9a96c341552618b3f0b4bbc69473c5e9e40e1ac9 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 |
@@ -117,6 +117,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: |