Index: components/data_reduction_proxy/core/common/data_reduction_proxy_params.h |
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h |
index 8790a34cd51846272e032bf3ebfd86d50ab00de4..4a128473036b194a8977fed81d3b5e07aa463d47 100644 |
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h |
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h |
@@ -106,6 +106,12 @@ int GetFieldTrialParameterAsInteger(const std::string& group, |
int default_value, |
int min_value); |
+// Returns true if the list of Data Reduction Proxies to use for HTTP requests |
+// has been overridden on the command line, and if so, returns the override |
+// proxy list in |override_proxies_for_http|. |
+bool GetOverrideProxiesForHttpFromCommandLine( |
+ std::vector<net::ProxyServer>* override_proxies_for_http); |
+ |
} // namespace params |
class ClientConfig; |
@@ -224,6 +230,9 @@ class DataReductionProxyParams : public DataReductionProxyConfigValues { |
bool configured_on_command_line_; |
+ bool use_override_proxies_for_http_; |
+ std::vector<net::ProxyServer> override_proxies_for_http_; |
+ |
DISALLOW_COPY_AND_ASSIGN(DataReductionProxyParams); |
}; |