Chromium Code Reviews| Index: net/proxy/proxy_list.h |
| diff --git a/net/proxy/proxy_list.h b/net/proxy/proxy_list.h |
| index a377553c106c4346bb4351d0742c5d74f3952d2c..87e1807108b3ee04938995ad1b44548b647e8901 100644 |
| --- a/net/proxy/proxy_list.h |
| +++ b/net/proxy/proxy_list.h |
| @@ -40,9 +40,15 @@ class NET_EXPORT_PRIVATE ProxyList { |
| // |scheme_bit_field| is a bunch of ProxyServer::Scheme bitwise ORed together. |
| void RemoveProxiesWithoutScheme(int scheme_bit_field); |
| + // Clear the proxy list. |
| + void Clear(); |
| + |
| // Returns true if there is nothing left in the ProxyList. |
| bool IsEmpty() const; |
| + // Returns the number of proxy servers in this list. |
| + size_t Size() const; |
|
eroman
2012/06/11 23:18:34
nit regarding capitalization:
either call size()
asanka
2012/06/12 19:37:18
Done. Went with size().
|
| + |
| // Returns the first proxy server in the list. It is only valid to call |
| // this if !IsEmpty(). |
| const ProxyServer& Get() const; |