| Index: net/proxy/proxy_list.h
|
| diff --git a/net/proxy/proxy_list.h b/net/proxy/proxy_list.h
|
| index 209dd678232ba645fa92baf177cfd24abdcb694b..70208a15f12960b068eaba991bdd8955f63b22de 100644
|
| --- a/net/proxy/proxy_list.h
|
| +++ b/net/proxy/proxy_list.h
|
| @@ -31,6 +31,9 @@ class NET_EXPORT_PRIVATE ProxyList {
|
| // Set the proxy list to a single entry, |proxy_server|.
|
| void SetSingleProxyServer(const ProxyServer& proxy_server);
|
|
|
| + // Append a single proxy server to the end of the proxy list.
|
| + void AddProxyServer(const ProxyServer& proxy_server);
|
| +
|
| // De-prioritizes the proxies that we have cached as not working, by moving
|
| // them to the end of the fallback list.
|
| void DeprioritizeBadProxies(const ProxyRetryInfoMap& proxy_retry_info);
|
| @@ -52,6 +55,9 @@ class NET_EXPORT_PRIVATE ProxyList {
|
| // Returns the number of proxy servers in this list.
|
| size_t size() const;
|
|
|
| + // Returns true if |*this| lists the same proxies as |other|.
|
| + bool Equals(const ProxyList& other) const;
|
| +
|
| // Returns the first proxy server in the list. It is only valid to call
|
| // this if !IsEmpty().
|
| const ProxyServer& Get() const;
|
|
|