Home
last modified time | relevance | path

Searched refs:AUTH_PROXY (Results 1 – 23 of 23) sorted by relevance

/external/cronet/net/http/
Dhttp_auth_cache_unittest.cc271 EXPECT_FALSE(cache.Lookup(scheme_host_port, HttpAuth::AUTH_PROXY, kRealm1, in TEST()
274 EXPECT_FALSE(cache.LookupByPath(scheme_host_port, HttpAuth::AUTH_PROXY, in TEST()
279 cache.Add(scheme_host_port, HttpAuth::AUTH_PROXY, kRealm1, in TEST()
291 entry = cache.Lookup(scheme_host_port, HttpAuth::AUTH_PROXY, kRealm1, in TEST()
296 EXPECT_EQ(entry, cache.LookupByPath(scheme_host_port, HttpAuth::AUTH_PROXY, in TEST()
311 entry = cache.Lookup(scheme_host_port, HttpAuth::AUTH_PROXY, kRealm1, in TEST()
316 EXPECT_EQ(entry, cache.LookupByPath(scheme_host_port, HttpAuth::AUTH_PROXY, in TEST()
320 EXPECT_TRUE(cache.Remove(scheme_host_port, HttpAuth::AUTH_PROXY, kRealm1, in TEST()
331 EXPECT_FALSE(cache.Lookup(scheme_host_port, HttpAuth::AUTH_PROXY, kRealm1, in TEST()
334 EXPECT_FALSE(cache.LookupByPath(scheme_host_port, HttpAuth::AUTH_PROXY, in TEST()
[all …]
Dhttp_auth_filter.cc28 if ((target != HttpAuth::AUTH_SERVER) && (target != HttpAuth::AUTH_PROXY)) in AddFilter()
31 if (target == HttpAuth::AUTH_PROXY) in AddFilter()
40 if ((target != HttpAuth::AUTH_SERVER) && (target != HttpAuth::AUTH_PROXY)) in IsValid()
43 if (target == HttpAuth::AUTH_PROXY) in IsValid()
Dhttp_auth_filter_unittest.cc29 {url::SchemeHostPort(GURL("http://foo.cn")), HttpAuth::AUTH_PROXY, true},
35 {url::SchemeHostPort(GURL("http://www.google.com")), HttpAuth::AUTH_PROXY,
46 HttpAuth::AUTH_PROXY, true},
61 EXPECT_EQ(test_case.target == HttpAuth::AUTH_PROXY, in TEST()
Dhttp_auth_handler_digest_unittest.cc53 EXPECT_TRUE(target != HttpAuth::AUTH_PROXY || !proxy_name.empty()); in RespondToChallenge()
624 HttpAuth::AUTH_PROXY, in TEST()
638 HttpAuth::AUTH_PROXY, in TEST()
652 HttpAuth::AUTH_PROXY, in TEST()
666 HttpAuth::AUTH_PROXY, in TEST()
Dhttp_auth_handler_factory_unittest.cc179 "Digest realm=\"FooBar\", nonce=\"xyz\"", HttpAuth::AUTH_PROXY, in TEST()
186 EXPECT_EQ(HttpAuth::AUTH_PROXY, handler->target()); in TEST()
249 HttpAuth::AUTH_PROXY}; in TEST()
303 HttpAuth::AUTH_PROXY}; in TEST()
355 {OK, "Basic realm=\"FooBar\"", HttpAuth::AUTH_PROXY, "Basic"}, in TEST()
367 HttpAuth::AUTH_PROXY, "UNSUPPORTED2"}}; in TEST()
Dhttp_auth.cc109 case AUTH_PROXY: in GetChallengeHeaderName()
122 case AUTH_PROXY: in GetAuthorizationHeaderName()
135 case AUTH_PROXY: in GetAuthTargetString()
Dhttp_auth_unittest.cc262 name = HttpAuth::GetChallengeHeaderName(HttpAuth::AUTH_PROXY); in TEST()
272 name = HttpAuth::GetAuthorizationHeaderName(HttpAuth::AUTH_PROXY); in TEST()
Dhttp_auth_controller.cc59 DCHECK(target != HttpAuth::AUTH_PROXY || auth_path_ == "/"); in HttpAuthController()
245 DCHECK_EQ(target_, HttpAuth::AUTH_PROXY); in HandleAuthChallenge()
458 auth_info_->is_proxy = (target_ == HttpAuth::AUTH_PROXY); in PopulateAuthChallenge()
Dhttp_network_transaction.cc287 if (target == HttpAuth::AUTH_PROXY && establishing_tunnel_) { in RestartWithAuth()
651 auth_controllers_[HttpAuth::AUTH_PROXY] = auth_controller; in OnNeedsProxyAuth()
652 pending_auth_target_ = HttpAuth::AUTH_PROXY; in OnNeedsProxyAuth()
947 HttpAuth::Target target = HttpAuth::AUTH_PROXY; in DoGenerateProxyAuthToken()
1031 if (ShouldApplyProxyAuth() && HaveAuth(HttpAuth::AUTH_PROXY)) in BuildRequestHeaders()
1032 auth_controllers_[HttpAuth::AUTH_PROXY]->AddAuthorizationHeader( in BuildRequestHeaders()
1877 HttpAuth::AUTH_PROXY : HttpAuth::AUTH_SERVER; in HandleAuthChallenge()
1878 if (target == HttpAuth::AUTH_PROXY && proxy_info_.is_direct()) in HandleAuthChallenge()
1904 case HttpAuth::AUTH_PROXY: { in AuthURL()
Dhttp_auth_controller_unittest.cc77 HttpAuth::AUTH_PROXY); in RunSingleRoundAuthTest()
83 HttpAuth::AUTH_PROXY, GURL("http://example.com"), in RunSingleRoundAuthTest()
Dhttp_auth_handler_unittest.cc37 for (auto target : {HttpAuth::AUTH_PROXY, HttpAuth::AUTH_SERVER}) { in TEST()
Dhttp_auth_handler_ntlm_win.cc70 if (target_ == HttpAuth::AUTH_PROXY) in AllowsDefaultCredentials()
Dhttp_proxy_client_socket_fuzzer.cc62 net::HttpAuth::AUTH_PROXY, GURL("http://proxy:42/"), in LLVMFuzzerTestOneInput()
Dhttp_auth_handler_negotiate.cc169 if (target_ == HttpAuth::AUTH_PROXY) in AllowsDefaultCredentials()
413 if (target_ == HttpAuth::AUTH_PROXY) in GetDelegationType()
Dhttp_auth.h41 AUTH_PROXY = 0, enumerator
Dhttp_auth_handler_digest.cc320 if (target_ == HttpAuth::AUTH_PROXY && in GetRequestMethodAndPath()
Dhttp_auth_cache.cc342 if (it->first.target != HttpAuth::AUTH_PROXY) in CopyProxyEntriesFrom()
Dhttp_proxy_connect_job.cc195 HttpAuth::AUTH_PROXY, in HttpProxyConnectJob()
Dhttp_network_transaction_unittest.cc3733 HttpAuth::AUTH_PROXY, "MyRealm1", HttpAuth::AUTH_SCHEME_BASIC, in TEST_F()
4513 HttpAuth::AUTH_PROXY, "MyRealm1", HttpAuth::AUTH_SCHEME_BASIC, in TEST_F()
4718 HttpAuth::AUTH_PROXY, "MyRealm1", HttpAuth::AUTH_SCHEME_BASIC, in TEST_F()
4725 HttpAuth::AUTH_PROXY, "MyRealm1", in TEST_F()
4774 url::SchemeHostPort(GURL("http://myproxy:70")), HttpAuth::AUTH_PROXY, in TEST_F()
4781 HttpAuth::AUTH_PROXY, "MyRealm1", in TEST_F()
5001 HttpAuth::AUTH_PROXY, "MyRealm1", HttpAuth::AUTH_SCHEME_BASIC, in TEST_F()
5008 HttpAuth::AUTH_PROXY, "MyRealm1", in TEST_F()
5057 url::SchemeHostPort(GURL("https://myproxy:70")), HttpAuth::AUTH_PROXY, in TEST_F()
5064 HttpAuth::AUTH_PROXY, "MyRealm1", in TEST_F()
[all …]
Dhttp_proxy_connect_job_unittest.cc797 proxy_scheme_host_port, HttpAuth::AUTH_PROXY, "MyRealm1", in TEST_P()
/external/cronet/net/spdy/
Dspdy_proxy_client_socket_unittest.cc177 url::SchemeHostPort{GURL(kProxyUrl)}, HttpAuth::AUTH_PROXY, "MyRealm1", in AddAuthToCache()
286 HttpAuth::AUTH_PROXY, GURL("https://" + proxy_host_port_.ToString()), in Initialize()
/external/cronet/net/quic/
Dquic_proxy_client_socket_unittest.cc299 HttpAuth::AUTH_PROXY, proxy_endpoint_.GetURL(), in Initialize()
738 url::SchemeHostPort(GURL(kProxyUrl)), HttpAuth::AUTH_PROXY, "MyRealm1", in TEST_P()
/external/cronet/net/socket/
Dssl_connect_job_unittest.cc159 url::SchemeHostPort(GURL("http://proxy:443/")), HttpAuth::AUTH_PROXY, in AddAuthToCache()