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

Unified Diff: net/proxy/proxy_list.cc

Issue 896203003: Implement utility-side proxy resolver Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@proxy-diffbase
Patch Set: fix windows compile Created 5 years, 10 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
« no previous file with comments | « net/proxy/proxy_list.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_list.cc
diff --git a/net/proxy/proxy_list.cc b/net/proxy/proxy_list.cc
index 4dc46267d05f32419edb054ded590d4a479758c3..524cc1583ebd60d7a41b9ace1af1ad3bd52f6c1e 100644
--- a/net/proxy/proxy_list.cc
+++ b/net/proxy/proxy_list.cc
@@ -109,6 +109,10 @@ const ProxyServer& ProxyList::Get() const {
return proxies_[0];
}
+const std::vector<ProxyServer>& ProxyList::GetAll() const {
+ return proxies_;
+}
+
void ProxyList::SetFromPacString(const std::string& pac_string) {
base::StringTokenizer entry_tok(pac_string, ";");
proxies_.clear();
« no previous file with comments | « net/proxy/proxy_list.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698