Index: net/proxy/proxy_list.h |
diff --git a/net/proxy/proxy_list.h b/net/proxy/proxy_list.h |
index a377553c106c4346bb4351d0742c5d74f3952d2c..f090833c0f3fc99110d6bcb721e730ab9b0dc457 100644 |
--- a/net/proxy/proxy_list.h |
+++ b/net/proxy/proxy_list.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -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; |
+ |
// Returns the first proxy server in the list. It is only valid to call |
// this if !IsEmpty(). |
const ProxyServer& Get() const; |