diff options
Diffstat (limited to 'net/proxy/proxy_config.cc')
-rw-r--r-- | net/proxy/proxy_config.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/proxy/proxy_config.cc b/net/proxy/proxy_config.cc index 91122dd..84b3d7a 100644 --- a/net/proxy/proxy_config.cc +++ b/net/proxy/proxy_config.cc @@ -19,7 +19,7 @@ void AddProxyListToValue(const char* name, const ProxyList& proxies, base::DictionaryValue* dict) { if (!proxies.IsEmpty()) - dict->SetString(name, proxies.ToPacString()); + dict->Set(name, proxies.ToValue()); } // Split the |uri_list| on commas and add each entry to |proxy_list| in turn. @@ -234,7 +234,7 @@ base::Value* ProxyConfig::ToValue() const { if (proxy_rules_.type != ProxyRules::TYPE_NO_RULES) { switch (proxy_rules_.type) { case ProxyRules::TYPE_SINGLE_PROXY: - AddProxyListToValue("single_proxies", + AddProxyListToValue("single_proxy", proxy_rules_.single_proxies, dict); break; case ProxyRules::TYPE_PROXY_PER_SCHEME: { |