/external/chromium/net/proxy/ |
D | proxy_server_unittest.cc | 16 net::ProxyServer::Scheme expected_scheme; in TEST() 25 net::ProxyServer::SCHEME_HTTP, in TEST() 33 net::ProxyServer::SCHEME_HTTP, in TEST() 41 net::ProxyServer::SCHEME_HTTP, in TEST() 51 net::ProxyServer::SCHEME_HTTP, in TEST() 59 net::ProxyServer::SCHEME_HTTP, in TEST() 67 net::ProxyServer::SCHEME_HTTP, in TEST() 75 net::ProxyServer::SCHEME_HTTP, in TEST() 85 net::ProxyServer::SCHEME_SOCKS4, in TEST() 93 net::ProxyServer::SCHEME_SOCKS4, in TEST() [all …]
|
D | proxy_server.cc | 21 ProxyServer::Scheme GetSchemeFromPacTypeInternal( in GetSchemeFromPacTypeInternal() 25 return ProxyServer::SCHEME_HTTP; in GetSchemeFromPacTypeInternal() 30 return ProxyServer::SCHEME_SOCKS4; in GetSchemeFromPacTypeInternal() 33 return ProxyServer::SCHEME_SOCKS4; in GetSchemeFromPacTypeInternal() 35 return ProxyServer::SCHEME_SOCKS5; in GetSchemeFromPacTypeInternal() 37 return ProxyServer::SCHEME_DIRECT; in GetSchemeFromPacTypeInternal() 39 return ProxyServer::SCHEME_HTTPS; in GetSchemeFromPacTypeInternal() 41 return ProxyServer::SCHEME_INVALID; in GetSchemeFromPacTypeInternal() 47 ProxyServer::Scheme GetSchemeFromURIInternal(std::string::const_iterator begin, in GetSchemeFromURIInternal() 50 return ProxyServer::SCHEME_HTTP; in GetSchemeFromURIInternal() [all …]
|
D | proxy_server.h | 22 class ProxyServer { 39 ProxyServer() : scheme_(SCHEME_INVALID) {} in ProxyServer() function 41 ProxyServer(Scheme scheme, const HostPortPair& host_port_pair); 82 static ProxyServer FromURI(const std::string& uri, Scheme default_scheme); 83 static ProxyServer FromURI(std::string::const_iterator uri_begin, 103 static ProxyServer FromPacString(const std::string& pac_string); 104 static ProxyServer FromPacString(std::string::const_iterator pac_string_begin, 108 static ProxyServer Direct() { in Direct() 109 return ProxyServer(SCHEME_DIRECT, HostPortPair()); in Direct() 118 static ProxyServer FromDictionary(Scheme scheme, [all …]
|
D | proxy_config.cc | 19 const ProxyServer& proxy, in AddProxyToValue() 55 const ProxyServer* entry = MapUrlSchemeToProxy(url.scheme()); in Apply() 76 single_proxy = ProxyServer(); in ParseFromString() 77 proxy_for_http = ProxyServer(); in ParseFromString() 78 proxy_for_https = ProxyServer(); in ParseFromString() 79 proxy_for_ftp = ProxyServer(); in ParseFromString() 80 fallback_proxy = ProxyServer(); in ParseFromString() 96 single_proxy = ProxyServer::FromURI(url_scheme, in ParseFromString() 97 ProxyServer::SCHEME_HTTP); in ParseFromString() 107 ProxyServer* entry = MapUrlSchemeToProxyNoFallback(url_scheme); in ParseFromString() [all …]
|
D | proxy_list.cc | 27 ProxyServer uri = ProxyServer::FromURI( in Set() 28 str_tok.token_begin(), str_tok.token_end(), ProxyServer::SCHEME_HTTP); in Set() 35 void ProxyList::SetSingleProxyServer(const ProxyServer& proxy_server) { in SetSingleProxyServer() 46 std::vector<ProxyServer> good_proxies; in DeprioritizeBadProxies() 47 std::vector<ProxyServer> bad_proxies; in DeprioritizeBadProxies() 49 std::vector<ProxyServer>::const_iterator iter = proxies_.begin(); in DeprioritizeBadProxies() 70 for (std::vector<ProxyServer>::iterator it = proxies_.begin(); in RemoveProxiesWithoutScheme() 84 const ProxyServer& ProxyList::Get() const { in Get() 93 ProxyServer uri = ProxyServer::FromPacString( in SetFromPacString() 103 proxies_.push_back(ProxyServer::Direct()); in SetFromPacString() [all …]
|
D | proxy_config_service_mac.cc | 75 ProxyServer proxy_server = in GetCurrentProxyConfig() 76 ProxyServer::FromDictionary(ProxyServer::SCHEME_HTTP, in GetCurrentProxyConfig() 89 ProxyServer proxy_server = in GetCurrentProxyConfig() 90 ProxyServer::FromDictionary(ProxyServer::SCHEME_HTTP, in GetCurrentProxyConfig() 103 ProxyServer proxy_server = in GetCurrentProxyConfig() 104 ProxyServer::FromDictionary(ProxyServer::SCHEME_HTTP, in GetCurrentProxyConfig() 117 ProxyServer proxy_server = in GetCurrentProxyConfig() 118 ProxyServer::FromDictionary(ProxyServer::SCHEME_SOCKS5, in GetCurrentProxyConfig()
|
D | proxy_config.h | 77 const ProxyServer* MapUrlSchemeToProxy(const std::string& url_scheme) const; 91 ProxyServer single_proxy; 94 ProxyServer proxy_for_http; 95 ProxyServer proxy_for_https; 96 ProxyServer proxy_for_ftp; 99 ProxyServer fallback_proxy; 105 ProxyServer* MapUrlSchemeToProxyNoFallback(const std::string& scheme);
|
D | proxy_server_mac.cc | 18 ProxyServer ProxyServer::FromDictionary(Scheme scheme, in FromDictionary() 24 return ProxyServer(scheme, HostPortPair()); in FromDictionary() 34 return ProxyServer(); // Invalid. in FromDictionary() 48 return ProxyServer(scheme, HostPortPair(host, port)); in FromDictionary()
|
D | proxy_list.h | 16 class ProxyServer; variable 31 void SetSingleProxyServer(const ProxyServer& proxy_server); 46 const ProxyServer& Get() const; 67 std::vector<ProxyServer> proxies_;
|
D | proxy_resolver_mac.cc | 22 net::ProxyServer::Scheme GetProxyServerScheme(CFStringRef proxy_type) { in GetProxyServerScheme() 24 return net::ProxyServer::SCHEME_DIRECT; in GetProxyServerScheme() 26 return net::ProxyServer::SCHEME_HTTP; in GetProxyServerScheme() 30 return net::ProxyServer::SCHEME_SOCKS5; in GetProxyServerScheme() 32 return net::ProxyServer::SCHEME_INVALID; in GetProxyServerScheme() 160 ProxyServer proxy_server = ProxyServer::FromDictionary( in GetProxyForURL()
|
D | proxy_config_unittest.cc | 14 const ProxyServer& proxy_server) { in ExpectProxyServerEquals() 55 ProxyServer::FromURI("myproxy:80", ProxyServer::SCHEME_HTTP); in TEST() 62 ProxyServer::FromURI("myproxy:100", ProxyServer::SCHEME_HTTP); in TEST() 68 ProxyServer::FromURI("myproxy", ProxyServer::SCHEME_HTTP); in TEST()
|
D | proxy_config_service_linux.cc | 47 std::string FixupProxyHostScheme(ProxyServer::Scheme scheme, in FixupProxyHostScheme() 49 if (scheme == ProxyServer::SCHEME_SOCKS5 && in FixupProxyHostScheme() 53 scheme = ProxyServer::SCHEME_SOCKS4; in FixupProxyHostScheme() 72 if (scheme == ProxyServer::SCHEME_SOCKS4) in FixupProxyHostScheme() 74 else if (scheme == ProxyServer::SCHEME_SOCKS5) in FixupProxyHostScheme() 89 const char* variable, ProxyServer::Scheme scheme, in GetProxyFromEnvVarForScheme() 90 ProxyServer* result_server) { in GetProxyFromEnvVarForScheme() 95 ProxyServer proxy_server = in GetProxyFromEnvVarForScheme() 96 ProxyServer::FromURI(env_value, ProxyServer::SCHEME_HTTP); in GetProxyFromEnvVarForScheme() 109 const char* variable, ProxyServer* result_server) { in GetProxyFromEnvVar() [all …]
|
D | proxy_list_unittest.cc | 74 ProxyServer::SCHEME_DIRECT | ProxyServer::SCHEME_HTTP, in TEST() 79 ProxyServer::SCHEME_DIRECT | ProxyServer::SCHEME_SOCKS4, in TEST()
|
D | proxy_config_service_linux.h | 165 ProxyServer::Scheme scheme, 166 ProxyServer* result_server); 168 bool GetProxyFromEnvVar(const char* variable, ProxyServer* result_server); 177 ProxyServer* result_server);
|
/external/webkit/Source/WebCore/platform/network/cf/ |
D | ProxyServerCFNet.cpp | 39 static void addProxyServersForURL(Vector<ProxyServer>& proxyServers, const KURL& url) in addProxyServersForURL() 54 ProxyServer::Type type = ProxyServer::Direct; in addProxyServersForURL() 62 proxyServers.append(ProxyServer(ProxyServer::Direct, String(), -1)); in addProxyServersForURL() 67 type = ProxyServer::HTTP; in addProxyServersForURL() 69 type = ProxyServer::HTTPS; in addProxyServersForURL() 71 type = ProxyServer::SOCKS; in addProxyServersForURL() 82 proxyServers.append(ProxyServer(type, host, portValue)); in addProxyServersForURL() 86 Vector<ProxyServer> proxyServersForURL(const KURL& url, const NetworkingContext*) in proxyServersForURL() 88 Vector<ProxyServer> proxyServers; in proxyServersForURL() 95 Vector<ProxyServer> proxyServersForURL(const KURL&, const NetworkingContext*) [all …]
|
/external/chromium/chrome/browser/chromeos/ |
D | proxy_cros_settings_provider.cc | 58 val, config.single_proxy, net::ProxyServer::SCHEME_HTTP)); in DoSet() 64 val, config.single_proxy, net::ProxyServer::SCHEME_HTTP)); in DoSet() 71 val, config.http_proxy, net::ProxyServer::SCHEME_HTTP)); in DoSet() 78 val, config.http_proxy, net::ProxyServer::SCHEME_HTTP)); in DoSet() 85 val, config.https_proxy, net::ProxyServer::SCHEME_HTTP)); in DoSet() 92 val, config.https_proxy, net::ProxyServer::SCHEME_HTTP)); in DoSet() 131 net::ProxyServer()); in DoSet() 153 val, config.ftp_proxy, net::ProxyServer::SCHEME_HTTP)); in DoSet() 160 val, config.ftp_proxy, net::ProxyServer::SCHEME_HTTP)); in DoSet() 168 net::ProxyServer::SCHEME_SOCKS5 : in DoSet() [all …]
|
D | proxy_cros_settings_provider.h | 29 net::ProxyServer CreateProxyServerFromHost( 32 net::ProxyServer::Scheme scheme) const; 34 net::ProxyServer CreateProxyServerFromPort( 37 net::ProxyServer::Scheme scheme) const;
|
D | proxy_config_service_impl.h | 103 net::ProxyServer server; 151 const net::ProxyServer& server, 190 bool UISetProxyConfigToSingleProxy(const net::ProxyServer& server); 193 const net::ProxyServer& server);
|
/external/webkit/Source/WebCore/platform/network/qt/ |
D | ProxyServerQt.cpp | 40 Vector<ProxyServer> proxyServersForURL(const KURL& url, const NetworkingContext* context) in proxyServersForURL() 42 Vector<ProxyServer> servers; in proxyServersForURL() 50 ProxyServer::Type proxyType; in proxyServersForURL() 53 proxyType = ProxyServer::SOCKS; in proxyServersForURL() 58 proxyType = ProxyServer::HTTP; in proxyServersForURL() 63 proxyType = ProxyServer::Direct; in proxyServersForURL() 66 servers.append(ProxyServer(proxyType, proxy.hostName(), proxy.port())); in proxyServersForURL()
|
/external/webkit/Source/WebCore/platform/network/ |
D | ProxyServer.cpp | 33 static void appendProxyServerString(StringBuilder& builder, const ProxyServer& proxyServer) in appendProxyServerString() 36 case ProxyServer::Direct: in appendProxyServerString() 39 case ProxyServer::HTTP: in appendProxyServerString() 40 case ProxyServer::HTTPS: in appendProxyServerString() 43 case ProxyServer::SOCKS: in appendProxyServerString() 58 String toString(const Vector<ProxyServer>& proxyServers) in toString()
|
D | ProxyServer.h | 38 class ProxyServer { 47 ProxyServer() in ProxyServer() function 53 ProxyServer(Type type, const String& hostName, int port) in ProxyServer() function 71 Vector<ProxyServer> proxyServersForURL(const KURL&, const NetworkingContext*); 75 String toString(const Vector<ProxyServer>&);
|
/external/chromium/chrome/browser/extensions/ |
D | extension_proxy_api_helpers.cc | 123 net::ProxyServer::Scheme default_scheme, in GetProxyServer() 124 net::ProxyServer* out, in GetProxyServer() 132 net::ProxyServer::Scheme scheme = in GetProxyServer() 133 net::ProxyServer::GetSchemeFromURI(scheme_string); in GetProxyServer() 134 if (scheme == net::ProxyServer::SCHEME_INVALID) in GetProxyServer() 154 port = net::ProxyServer::GetDefaultPortForScheme(scheme); in GetProxyServer() 156 *out = net::ProxyServer(scheme, net::HostPortPair(host, port)); in GetProxyServer() 173 net::ProxyServer proxy_server[keys::SCHEME_MAX + 1]; in GetProxyRulesStringFromExtensionPref() 183 net::ProxyServer::Scheme default_scheme = net::ProxyServer::SCHEME_HTTP; in GetProxyRulesStringFromExtensionPref() 386 DictionaryValue* CreateProxyServerDict(const net::ProxyServer& proxy) { in CreateProxyServerDict() [all …]
|
/external/chromium/chrome/browser/importer/ |
D | firefox_proxy_settings.cc | 129 config->proxy_rules().proxy_for_http = net::ProxyServer( in ToProxyConfig() 130 net::ProxyServer::SCHEME_HTTP, in ToProxyConfig() 135 config->proxy_rules().proxy_for_ftp = net::ProxyServer( in ToProxyConfig() 136 net::ProxyServer::SCHEME_HTTP, in ToProxyConfig() 141 config->proxy_rules().proxy_for_https = net::ProxyServer( in ToProxyConfig() 142 net::ProxyServer::SCHEME_HTTP, in ToProxyConfig() 147 net::ProxyServer::Scheme proxy_scheme = V5 == socks_version() ? in ToProxyConfig() 148 net::ProxyServer::SCHEME_SOCKS5 : net::ProxyServer::SCHEME_SOCKS4; in ToProxyConfig() 150 config->proxy_rules().fallback_proxy = net::ProxyServer( in ToProxyConfig()
|
/external/chromium/net/socket/ |
D | ssl_client_socket_pool.cc | 28 ProxyServer::Scheme proxy, in SSLSocketParams() 44 case ProxyServer::SCHEME_DIRECT: in SSLSocketParams() 50 case ProxyServer::SCHEME_HTTP: in SSLSocketParams() 51 case ProxyServer::SCHEME_HTTPS: in SSLSocketParams() 57 case ProxyServer::SCHEME_SOCKS4: in SSLSocketParams() 58 case ProxyServer::SCHEME_SOCKS5: in SSLSocketParams() 76 case ProxyServer::SCHEME_DIRECT: in getUID() 82 case ProxyServer::SCHEME_HTTP: in getUID() 83 case ProxyServer::SCHEME_HTTPS: in getUID() 89 case ProxyServer::SCHEME_SOCKS4: in getUID() [all …]
|
D | ssl_client_socket_pool_unittest.cc | 105 scoped_refptr<SSLSocketParams> SSLParams(ProxyServer::Scheme proxy, in SSLParams() 108 proxy == ProxyServer::SCHEME_DIRECT ? in SSLParams() 110 proxy == ProxyServer::SCHEME_SOCKS5 ? socks_socket_params_ : NULL, in SSLParams() 111 proxy == ProxyServer::SCHEME_HTTP ? http_proxy_socket_params_ : NULL, in SSLParams() 176 scoped_refptr<SSLSocketParams> params = SSLParams(ProxyServer::SCHEME_DIRECT, in TEST_F() 193 scoped_refptr<SSLSocketParams> params = SSLParams(ProxyServer::SCHEME_DIRECT, in TEST_F() 218 scoped_refptr<SSLSocketParams> params = SSLParams(ProxyServer::SCHEME_DIRECT, in TEST_F() 237 scoped_refptr<SSLSocketParams> params = SSLParams(ProxyServer::SCHEME_DIRECT, in TEST_F() 260 scoped_refptr<SSLSocketParams> params = SSLParams(ProxyServer::SCHEME_DIRECT, in TEST_F() 283 scoped_refptr<SSLSocketParams> params = SSLParams(ProxyServer::SCHEME_DIRECT, in TEST_F() [all …]
|