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

Unified Diff: chromeos/network/onc/onc_utils.cc

Issue 2391453002: Remove stl_util's deletion functions from net/proxy/. (Closed)
Patch Set: fixes Created 4 years, 2 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
« no previous file with comments | « chrome/browser/chromeos/proxy_cros_settings_parser.cc ('k') | net/proxy/mojo_proxy_resolver_factory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/onc/onc_utils.cc
diff --git a/chromeos/network/onc/onc_utils.cc b/chromeos/network/onc/onc_utils.cc
index f7fd969d6aad533bd3a7cf1ab887e7c3744f07ff..6abcd759799bd24e85838797ab1e251dd07aa81d 100644
--- a/chromeos/network/onc/onc_utils.cc
+++ b/chromeos/network/onc/onc_utils.cc
@@ -975,7 +975,7 @@ std::unique_ptr<base::DictionaryValue> ConvertProxyConfigToOncProxySettings(
net::ProxyBypassRules bypass_rules;
bypass_rules.ParseFromString(bypass_rules_string);
std::unique_ptr<base::ListValue> exclude_domains(new base::ListValue);
- for (const net::ProxyBypassRules::Rule* rule : bypass_rules.rules())
+ for (const auto& rule : bypass_rules.rules())
exclude_domains->AppendString(rule->ToString());
if (!exclude_domains->empty()) {
proxy_settings->SetWithoutPathExpansion(::onc::proxy::kExcludeDomains,
« no previous file with comments | « chrome/browser/chromeos/proxy_cros_settings_parser.cc ('k') | net/proxy/mojo_proxy_resolver_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698