summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy/proxy_info.h')
-rw-r--r--net/proxy/proxy_info.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/proxy/proxy_info.h b/net/proxy/proxy_info.h
index cea21e2..877e404 100644
--- a/net/proxy/proxy_info.h
+++ b/net/proxy/proxy_info.h
@@ -44,9 +44,10 @@ class NET_EXPORT ProxyInfo {
void UseProxyServer(const ProxyServer& proxy_server);
// Parses from the given PAC result.
- void UsePacString(const std::string& pac_string) {
- proxy_list_.SetFromPacString(pac_string);
- }
+ void UsePacString(const std::string& pac_string);
+
+ // Use the proxies from the given list.
+ void UseProxyList(const ProxyList& proxy_list);
// Returns true if this proxy info specifies a direct connection.
bool is_direct() const {