summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy/proxy_list.h')
-rw-r--r--net/proxy/proxy_list.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/proxy/proxy_list.h b/net/proxy/proxy_list.h
index 1afd1d9..5df1e0a09 100644
--- a/net/proxy/proxy_list.h
+++ b/net/proxy/proxy_list.h
@@ -40,11 +40,12 @@ class ProxyList {
// this if !IsEmpty().
const ProxyServer& Get() const;
- // Set the list by parsing the pac result |pac_string|.
+ // Sets the list by parsing the pac result |pac_string|.
// Some examples for |pac_string|:
// "DIRECT"
// "PROXY foopy1"
// "PROXY foopy1; SOCKS4 foopy2:1188"
+ // Does a best-effort parse, and silently discards any errors.
void SetFromPacString(const std::string& pac_string);
// Returns a PAC-style semicolon-separated list of valid proxy servers.