Lines Matching refs:ProxyServer
47 std::string FixupProxyHostScheme(ProxyServer::Scheme scheme,
49 if (scheme == ProxyServer::SCHEME_SOCKS5 &&
53 scheme = ProxyServer::SCHEME_SOCKS4;
70 // ProxyServer. This also allows ProxyServer to choose the right
72 if (scheme == ProxyServer::SCHEME_SOCKS4)
74 else if (scheme == ProxyServer::SCHEME_SOCKS5)
89 const char* variable, ProxyServer::Scheme scheme,
90 ProxyServer* result_server) {
95 ProxyServer proxy_server =
96 ProxyServer::FromURI(env_value, ProxyServer::SCHEME_HTTP);
109 const char* variable, ProxyServer* result_server) {
110 return GetProxyFromEnvVarForScheme(variable, ProxyServer::SCHEME_HTTP,
131 ProxyServer proxy_server;
160 ProxyServer::Scheme scheme = ProxyServer::SCHEME_SOCKS5;
164 scheme = ProxyServer::SCHEME_SOCKS4;
914 const char* key_prefix, bool is_socks, ProxyServer* result_server) {
930 is_socks ? ProxyServer::SCHEME_SOCKS5 : ProxyServer::SCHEME_HTTP,
932 ProxyServer proxy_server = ProxyServer::FromURI(host,
933 ProxyServer::SCHEME_HTTP);
992 ProxyServer proxy_server;