Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6574)

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.h

Issue 1345523005: Added command line flag to override list of proxies from Data Saver API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased on master Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.h
index 69fea3d2c450c207ea94ce3240f975bff9a6dc5b..36d2cd31b400508d62062db5e219f2e20584d9f5 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.h
@@ -60,6 +60,11 @@ class DataReductionProxyMutableConfigValues
std::vector<net::ProxyServer> proxies_for_https_;
GURL secure_proxy_check_url_;
+ // Permits use of locally specified Data Reduction Proxy servers instead of
+ // ones specified from the Data Saver API.
+ bool use_override_proxies_for_http_;
+ std::vector<net::ProxyServer> override_proxies_for_http_;
+
// Enforce usage on the IO thread.
base::ThreadChecker thread_checker_;

Powered by Google App Engine
This is Rietveld 408576698