Home
last modified time | relevance | path

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

/external/cronet/net/dns/
Dmock_host_resolver.cc1377 Rule fixed_rule = rule; in AddRuleInternal() local
1383 if (fixed_rule.resolver_type == Rule::kResolverTypeSystem) { in AddRuleInternal()
1384 CHECK(fixed_rule.replacement.empty() || in AddRuleInternal()
1385 dns_names_util::IsValidDnsName(fixed_rule.replacement)); in AddRuleInternal()
1388 bool valid_address = ip_address.AssignFromIPLiteral(fixed_rule.replacement); in AddRuleInternal()
1390 fixed_rule.resolver_type = Rule::kResolverTypeIPLiteral; in AddRuleInternal()
1396 rules_.push_back(fixed_rule); in AddRuleInternal()