| Index: net/proxy/proxy_list.cc
|
| diff --git a/net/proxy/proxy_list.cc b/net/proxy/proxy_list.cc
|
| index cdc8cc2b4a922ea4b63a7a7c6f624c0f6b4bf4c3..d4867e0a7cb1ab55ac9173fd982282b551728e65 100644
|
| --- a/net/proxy/proxy_list.cc
|
| +++ b/net/proxy/proxy_list.cc
|
| @@ -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.
|
|
|
| @@ -77,10 +77,18 @@ void ProxyList::RemoveProxiesWithoutScheme(int scheme_bit_field) {
|
| }
|
| }
|
|
|
| +void ProxyList::Clear() {
|
| + proxies_.clear();
|
| +}
|
| +
|
| bool ProxyList::IsEmpty() const {
|
| return proxies_.empty();
|
| }
|
|
|
| +size_t ProxyList::size() const {
|
| + return proxies_.size();
|
| +}
|
| +
|
| const ProxyServer& ProxyList::Get() const {
|
| DCHECK(!proxies_.empty());
|
| return proxies_[0];
|
|
|