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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc

Issue 1871783002: Remove the Data Reduction Proxy TLS experiment code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/common/data_reduction_proxy_event_store.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc
index e1e283da033232158b33ecb4bf472f3e60368d33..786c7e5f06f81cefcf938de7024bd5f34300ba97 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc
@@ -210,26 +210,6 @@ std::string DataReductionProxyEventStore::GetHttpProxyList() const {
return JoinListValueStrings(proxy_list);
}
-std::string DataReductionProxyEventStore::GetHttpsProxyList() const {
- DCHECK(thread_checker_.CalledOnValidThread());
- if (!enabled_ || !current_configuration_)
- return std::string();
-
- base::DictionaryValue* config_dict;
- if (!current_configuration_->GetAsDictionary(&config_dict))
- return std::string();
-
- base::DictionaryValue* params_dict;
- if (!config_dict->GetDictionary("params", &params_dict))
- return std::string();
-
- base::ListValue* proxy_list;
- if (!params_dict->GetList("https_proxy_list", &proxy_list))
- return std::string();
-
- return JoinListValueStrings(proxy_list);
-}
-
std::string DataReductionProxyEventStore::SanitizedLastBypassEvent() const {
DCHECK(thread_checker_.CalledOnValidThread());
if (!enabled_ || !last_bypass_event_)

Powered by Google App Engine
This is Rietveld 408576698