Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(718)

Unified Diff: net/proxy/proxy_list.cc

Issue 10310179: Track sources of proxy settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/proxy/proxy_list.cc
diff --git a/net/proxy/proxy_list.cc b/net/proxy/proxy_list.cc
index cdc8cc2b4a922ea4b63a7a7c6f624c0f6b4bf4c3..3751751635daf42dc6eb73cc53c9a8ef0fdae3e2 100644
--- a/net/proxy/proxy_list.cc
+++ b/net/proxy/proxy_list.cc
@@ -77,6 +77,10 @@ void ProxyList::RemoveProxiesWithoutScheme(int scheme_bit_field) {
}
}
+void ProxyList::Clear() {
+ proxies_.clear();
+}
+
bool ProxyList::IsEmpty() const {
return proxies_.empty();
}
« no previous file with comments | « net/proxy/proxy_list.h ('k') | net/proxy/proxy_service.cc » ('j') | net/proxy/proxy_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698