Home
last modified time | relevance | path

Searched refs:RewriteHost (Results 1 – 6 of 6) sorted by relevance

/external/cronet/net/base/
Dhost_mapping_rules_unittest.cc26 EXPECT_FALSE(rules.RewriteHost(&host_port)); in TEST()
31 EXPECT_TRUE(rules.RewriteHost(&host_port)); in TEST()
36 EXPECT_TRUE(rules.RewriteHost(&host_port)); in TEST()
41 EXPECT_FALSE(rules.RewriteHost(&host_port)); in TEST()
53 EXPECT_FALSE(rules.RewriteHost(&host_port)); in TEST()
59 EXPECT_TRUE(rules.RewriteHost(&host_port)); in TEST()
65 EXPECT_TRUE(rules.RewriteHost(&host_port)); in TEST()
71 EXPECT_FALSE(rules.RewriteHost(&host_port)); in TEST()
Dhost_mapping_rules.cc45 bool HostMappingRules::RewriteHost(HostPortPair* host_port) const { in RewriteHost() function in net::HostMappingRules
85 if (!RewriteHost(&host_port_pair)) in RewriteUrl()
Dhost_mapping_rules.h35 bool RewriteHost(HostPortPair* host_port) const;
/external/cronet/net/http/
Dhttp_stream_factory.cc70 RewriteHost(http_server), network_anonymization_key, in ProcessAlternativeServices()
77 url::SchemeHostPort HttpStreamFactory::RewriteHost( in RewriteHost() function in net::HttpStreamFactory
82 mapping_rules->RewriteHost(&host_port_pair); in RewriteHost()
Dhttp_stream_factory.h132 url::SchemeHostPort RewriteHost(const url::SchemeHostPort& server);
/external/cronet/net/dns/
Dmapped_host_resolver.cc69 rules_.RewriteHost(&rewritten); in CreateRequest()