Home
last modified time | relevance | path

Searched refs:proxy_server (Results 1 – 25 of 90) sorted by relevance

1234

/external/chromium_org/net/proxy/
Dproxy_list_unittest.cc176 ProxyServer proxy_server( in TEST() local
182 proxy_server, in TEST()
187 retry_info_map[proxy_server.ToURI()].net_error); in TEST()
197 ProxyServer proxy_server( in TEST() local
203 proxy_server, in TEST()
207 EXPECT_EQ(OK, retry_info_map[proxy_server.ToURI()].net_error); in TEST()
217 ProxyServer proxy_server = ProxyServer::FromURI("foopy3:80", in TEST() local
223 proxy_server, in TEST()
228 retry_info_map[proxy_server.ToURI()].net_error); in TEST()
238 ProxyServer proxy_server = ProxyServer::FromURI("foopy2:80", in TEST() local
[all …]
Dproxy_config_service_mac.cc73 ProxyServer proxy_server = in GetCurrentProxyConfig() local
78 if (proxy_server.is_valid()) { in GetCurrentProxyConfig()
81 config->proxy_rules().proxies_for_ftp.SetSingleProxyServer(proxy_server); in GetCurrentProxyConfig()
87 ProxyServer proxy_server = in GetCurrentProxyConfig() local
92 if (proxy_server.is_valid()) { in GetCurrentProxyConfig()
95 config->proxy_rules().proxies_for_http.SetSingleProxyServer(proxy_server); in GetCurrentProxyConfig()
101 ProxyServer proxy_server = in GetCurrentProxyConfig() local
106 if (proxy_server.is_valid()) { in GetCurrentProxyConfig()
110 SetSingleProxyServer(proxy_server); in GetCurrentProxyConfig()
116 ProxyServer proxy_server = in GetCurrentProxyConfig() local
[all …]
Dproxy_info.h44 void UseProxyServer(const ProxyServer& proxy_server);
68 return proxy_server().is_https(); in is_https()
75 return proxy_server().is_http(); in is_http()
82 return proxy_server().is_quic(); in is_quic()
89 return proxy_server().is_socks(); in is_socks()
110 const ProxyServer& proxy_server() const { return proxy_list_.Get(); } in proxy_server() function
Dproxy_config_service_ios.cc73 ProxyServer proxy_server = in GetCurrentProxyConfig() local
78 if (proxy_server.is_valid()) { in GetCurrentProxyConfig()
81 config->proxy_rules().proxies_for_http.SetSingleProxyServer(proxy_server); in GetCurrentProxyConfig()
85 proxy_server); in GetCurrentProxyConfig()
Dproxy_service_unittest.cc213 virtual void OnProxyFallback(const ProxyServer& proxy_server, in OnProxyFallback() argument
215 proxy_server_ = proxy_server; in OnProxyFallback()
224 const ProxyServer& proxy_server() const { in proxy_server() function in net::__anoncbf70c0e0111::TestProxyFallbackNetworkDelegate
314 EXPECT_EQ(info.proxy_server().host_port_pair().host(), "delegate_proxy.com"); in TEST_F()
322 EXPECT_EQ(info.proxy_server().host_port_pair().host(), "foopy1"); in TEST_F()
371 EXPECT_EQ(info.proxy_server().host_port_pair().host(), "foopy1"); in TEST_F()
415 EXPECT_EQ("foopy:80", info.proxy_server().ToURI()); in TEST_F()
498 EXPECT_EQ("foopy:8080", info.proxy_server().ToURI()); in TEST_F()
510 ProxyServer expected_proxy_server = info.proxy_server(); in TEST_F()
616 EXPECT_EQ("foobar:10", info.proxy_server().ToURI()); in TEST_F()
[all …]
Dproxy_list.cc37 void ProxyList::SetSingleProxyServer(const ProxyServer& proxy_server) { in SetSingleProxyServer() argument
39 AddProxyServer(proxy_server); in SetSingleProxyServer()
42 void ProxyList::AddProxyServer(const ProxyServer& proxy_server) { in AddProxyServer() argument
43 if (proxy_server.is_valid()) in AddProxyServer()
44 proxies_.push_back(proxy_server); in AddProxyServer()
Dproxy_resolver_v8_unittest.cc196 proxy_info.proxy_server().ToURI()); in TEST()
207 proxy_info.proxy_server().ToURI()); in TEST()
295 proxy_info.proxy_server().ToURI()); in TEST()
309 proxy_info.proxy_server().ToURI()); in TEST()
360 EXPECT_EQ("success:80", proxy_info.proxy_server().ToURI()); in TEST()
469 EXPECT_EQ("127.0.0.1:80", proxy_info.proxy_server().ToURI()); in TEST()
494 EXPECT_EQ("success:80", proxy_info.proxy_server().ToURI()); in TEST()
513 EXPECT_EQ("success:3", proxy_info.proxy_server().ToURI()); in TEST()
531 EXPECT_EQ("success:80", proxy_info.proxy_server().ToURI()); in TEST()
623 EXPECT_EQ("kittens:88", proxy_info.proxy_server().ToURI()); in TEST()
Dproxy_resolver_v8_tracing_unittest.cc118 EXPECT_EQ("foo:99", proxy_info.proxy_server().ToURI()); in TEST_F()
201 EXPECT_EQ("foo:3", proxy_info.proxy_server().ToURI()); in TEST_F()
249 EXPECT_EQ("foo:3", proxy_info.proxy_server().ToURI()); in TEST_F()
329 EXPECT_EQ(kExpectedResult, proxy_info.proxy_server().ToURI()); in TEST_F()
383 EXPECT_EQ("166.155.144.11:3", proxy_info.proxy_server().ToURI()); in TEST_F()
398 EXPECT_EQ("166.155.144.11:4", proxy_info.proxy_server().ToURI()); in TEST_F()
438 proxy_info.proxy_server().ToURI()); in TEST_F()
488 EXPECT_EQ("166.155.144.44:100", proxy_info.proxy_server().ToURI()); in TEST_F()
531 "null:21", proxy_info.proxy_server().ToURI()); in TEST_F()
568 EXPECT_EQ("null21:34", proxy_info.proxy_server().ToURI()); in TEST_F()
[all …]
Dproxy_config_service_linux.cc103 ProxyServer proxy_server = in GetProxyFromEnvVarForScheme() local
105 if (proxy_server.is_valid() && !proxy_server.is_direct()) { in GetProxyFromEnvVarForScheme()
106 *result_server = proxy_server; in GetProxyFromEnvVarForScheme()
139 ProxyServer proxy_server; in GetConfigFromEnv() local
140 if (GetProxyFromEnvVar("all_proxy", &proxy_server)) { in GetConfigFromEnv()
142 config->proxy_rules().single_proxies.SetSingleProxyServer(proxy_server); in GetConfigFromEnv()
144 bool have_http = GetProxyFromEnvVar("http_proxy", &proxy_server); in GetConfigFromEnv()
146 config->proxy_rules().proxies_for_http.SetSingleProxyServer(proxy_server); in GetConfigFromEnv()
152 bool have_https = GetProxyFromEnvVar("https_proxy", &proxy_server); in GetConfigFromEnv()
155 SetSingleProxyServer(proxy_server); in GetConfigFromEnv()
[all …]
Dproxy_list.h37 void SetSingleProxyServer(const ProxyServer& proxy_server);
40 void AddProxyServer(const ProxyServer& proxy_server);
/external/chromium_org/components/data_reduction_proxy/browser/
Ddata_reduction_proxy_protocol.cc28 net::ProxyServer* proxy_server) { in SetProxyServerFromGURL() argument
29 DCHECK(proxy_server); in SetProxyServerFromGURL()
32 *proxy_server = net::ProxyServer(gurl.SchemeIs("http") ? in SetProxyServerFromGURL()
62 if (request->proxy_server().IsEmpty()) in MaybeBypassProxyAndPrepareToRetry()
98 net::ProxyServer proxy_server; in MaybeBypassProxyAndPrepareToRetry() local
100 data_reduction_proxy_type_info.proxy_servers.first, &proxy_server); in MaybeBypassProxyAndPrepareToRetry()
105 if (proxy_retry_info.find(proxy_server.ToURI()) == proxy_retry_info.end()) { in MaybeBypassProxyAndPrepareToRetry()
109 proxy_server, in MaybeBypassProxyAndPrepareToRetry()
137 result->proxy_server().is_direct()) { in OnResolveProxyHandler()
142 if (!data_reduction_proxy_info.proxy_server().is_direct()) in OnResolveProxyHandler()
[all …]
Ddata_reduction_proxy_auth_request_handler.cc123 const net::ProxyServer& proxy_server, in MaybeAddRequestHeader() argument
126 if (!proxy_server.is_valid()) in MaybeAddRequestHeader()
128 if (proxy_server.is_direct()) in MaybeAddRequestHeader()
130 MaybeAddRequestHeaderImpl(proxy_server.host_port_pair(), in MaybeAddRequestHeader()
136 const net::HostPortPair& proxy_server, in MaybeAddProxyTunnelRequestHandler() argument
139 MaybeAddRequestHeaderImpl(proxy_server, true, request_headers); in MaybeAddProxyTunnelRequestHandler()
218 const net::HostPortPair& proxy_server, in MaybeAddRequestHeaderImpl() argument
221 if (proxy_server.IsEmpty()) in MaybeAddRequestHeaderImpl()
224 data_reduction_proxy_params_->IsDataReductionProxy(proxy_server, NULL) && in MaybeAddRequestHeaderImpl()
227 proxy_server) == expect_ssl) { in MaybeAddRequestHeaderImpl()
Ddata_reduction_proxy_delegate.cc40 const net::HostPortPair& proxy_server, in OnBeforeTunnelRequest() argument
42 auth_handler_->MaybeAddProxyTunnelRequestHandler(proxy_server, extra_headers); in OnBeforeTunnelRequest()
47 const net::HostPortPair& proxy_server, in OnTunnelHeadersReceived() argument
Ddata_reduction_proxy_auth_request_handler.h56 const net::ProxyServer& proxy_server,
64 const net::HostPortPair& proxy_server,
129 void MaybeAddRequestHeaderImpl(const net::HostPortPair& proxy_server,
Ddata_reduction_proxy_delegate.h46 const net::HostPortPair& proxy_server,
51 const net::HostPortPair& proxy_server,
Ddata_reduction_proxy_protocol_unittest.cc866 data_reduction_proxy_info.proxy_server().ToURI()] = retry_info; in TEST_F()
874 EXPECT_EQ(data_reduction_proxy_info.proxy_server(), result.proxy_server()); in TEST_F()
880 EXPECT_EQ(other_proxy_info.proxy_server(), result.proxy_server()); in TEST_F()
889 EXPECT_EQ(data_reduction_proxy_info.proxy_server(), result.proxy_server()); in TEST_F()
900 EXPECT_TRUE(result.proxy_server().is_direct()); in TEST_F()
/external/chromium_org/chrome/browser/prefs/
Dproxy_config_dictionary_unittest.cc15 std::string proxy_server; member
28 ASSERT_FALSE(dict.GetProxyServer(&h.proxy_server)); in TEST()
41 ASSERT_FALSE(dict.GetProxyServer(&h.proxy_server)); in TEST()
55 ASSERT_FALSE(dict.GetProxyServer(&h.proxy_server)); in TEST()
69 ASSERT_TRUE(dict.GetProxyServer(&h.proxy_server)); in TEST()
70 EXPECT_EQ("http://1.2.3.4", h.proxy_server); in TEST()
84 ASSERT_FALSE(dict.GetProxyServer(&h.proxy_server)); in TEST()
Dproxy_config_dictionary.cc103 const std::string& proxy_server, in CreateFixedServers() argument
105 if (!proxy_server.empty()) { in CreateFixedServers()
109 proxy_server, in CreateFixedServers()
130 const std::string& proxy_server, in CreateDictionary() argument
138 if (!proxy_server.empty()) in CreateDictionary()
139 dict->SetString(kProxyServer, proxy_server); in CreateDictionary()
Dproxy_config_dictionary.h47 const std::string& proxy_server,
55 const std::string& proxy_server,
/external/chromium_org/net/socket/
Dmock_client_socket_pool_manager.cc40 const HostPortPair& proxy_server, in SetSocketPoolForSSLWithProxy() argument
42 ssl_socket_pools_for_proxies_[proxy_server] = pool; in SetSocketPoolForSSLWithProxy()
81 const HostPortPair& proxy_server) { in GetSocketPoolForSSLWithProxy() argument
83 ssl_socket_pools_for_proxies_.find(proxy_server); in GetSocketPoolForSSLWithProxy()
Dmock_client_socket_pool_manager.h26 void SetSocketPoolForSSLWithProxy(const HostPortPair& proxy_server,
39 const HostPortPair& proxy_server) OVERRIDE;
/external/chromium_org/net/spdy/
Dspdy_session_key.cc15 const ProxyServer& proxy_server, in SpdySessionKey() argument
17 : host_port_proxy_pair_(host_port_pair, proxy_server), in SpdySessionKey()
20 << ", proxy=" << proxy_server.ToURI() in SpdySessionKey()
Dspdy_session_key.h18 const ProxyServer& proxy_server,
41 const ProxyServer& proxy_server() const { in proxy_server() function
/external/chromium_org/chrome/browser/extensions/api/proxy/
Dproxy_api_helpers.cc149 bool GetProxyServer(const base::DictionaryValue* proxy_server, in GetProxyServer() argument
158 proxy_server->GetStringASCII(keys::kProxyConfigRuleScheme, &scheme_string); in GetProxyServer()
167 if (!proxy_server->GetString(keys::kProxyConfigRuleHost, &host16)) { in GetProxyServer()
182 if (!proxy_server->GetInteger(keys::kProxyConfigRulePort, &port)) in GetProxyServer()
204 net::ProxyServer proxy_server[keys::SCHEME_MAX + 1]; in GetProxyRulesStringFromExtensionPref() local
216 &proxy_server[i], error, bad_message)) { in GetProxyRulesStringFromExtensionPref()
235 *out = proxy_server[keys::SCHEME_ALL].ToURI(); in GetProxyRulesStringFromExtensionPref()
250 proxy_pref.append(proxy_server[i].ToURI()); in GetProxyRulesStringFromExtensionPref()
/external/chromium_org/net/base/
Dproxy_delegate.h56 virtual void OnBeforeTunnelRequest(const HostPortPair& proxy_server,
62 const HostPortPair& proxy_server,

1234