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

Unified Diff: net/proxy/proxy_config.h

Issue 678003002: Correct manual proxy selection for WebSockets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | net/proxy/proxy_config.cc » ('j') | net/proxy/proxy_config.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_config.h
diff --git a/net/proxy/proxy_config.h b/net/proxy/proxy_config.h
index e558174a4658bc558afaa331035b766548274e92..298f10b92d7d17f4add43247f4d1a02a77b91739 100644
--- a/net/proxy/proxy_config.h
+++ b/net/proxy/proxy_config.h
@@ -137,10 +137,14 @@ class NET_EXPORT ProxyConfig {
ProxyList fallback_proxies;
private:
- // Returns one of {&proxies_for_http, &proxies_for_https, &proxies_for_ftp}
- // or NULL if it is a scheme that we don't have a mapping
+ // Returns one of {&proxies_for_http, &proxies_for_https, &proxies_for_ftp,
+ // &fallback_proxies} or NULL if it is a scheme that we don't have a mapping
// for. Should only call this if the type is TYPE_PROXY_PER_SCHEME.
ProxyList* MapUrlSchemeToProxyListNoFallback(const std::string& scheme);
tyoshino (SeeGerritForStatus) 2014/10/27 15:28:29 there's no fallback in this method, but we're goin
Adam Rice 2014/10/28 02:22:23 MapUrlSchemeToProxyList() is not called during par
+
+ // Returns the first of {&fallback_proxies, &proxies_for_https,
+ // &proxies_for_http} that is non-empty, or NULL.
+ ProxyList* GetProxyListForWebSocketScheme();
};
typedef int ID;
« no previous file with comments | « no previous file | net/proxy/proxy_config.cc » ('j') | net/proxy/proxy_config.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698