Searched refs:RewriteHost (Results 1 – 5 of 5) sorted by relevance
20 EXPECT_FALSE(rules.RewriteHost(&host_port)); in TEST()25 EXPECT_TRUE(rules.RewriteHost(&host_port)); in TEST()30 EXPECT_TRUE(rules.RewriteHost(&host_port)); in TEST()35 EXPECT_FALSE(rules.RewriteHost(&host_port)); in TEST()47 EXPECT_FALSE(rules.RewriteHost(&host_port)); in TEST()53 EXPECT_TRUE(rules.RewriteHost(&host_port)); in TEST()59 EXPECT_TRUE(rules.RewriteHost(&host_port)); in TEST()65 EXPECT_FALSE(rules.RewriteHost(&host_port)); in TEST()
24 bool RewriteHost(HostPortPair* host_port) const;
29 if (rules_.RewriteHost(&host_port)) in Resolve()
32 bool HostMappingRules::RewriteHost(HostPortPair* host_port) const { in RewriteHost() function in net::HostMappingRules
75 host_mapping_rules().RewriteHost(&host_port); in ProcessAlternateProtocol()90 if (host_mapping_rules().RewriteHost(endpoint)) { in ApplyHostMappingRules()