Home
last modified time | relevance | path

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

/external/chromium/net/proxy/
Dinit_proxy_resolver_unittest.cc52 rules_.push_back(rule); in AddSuccessRule()
57 rules_.push_back(Rule(GURL(url), kFailedDownloading /*fetch_error*/, in AddFailDownloadRule()
62 rules_.push_back(Rule(GURL(url), OK /*fetch_error*/, in AddFailParsingRule()
67 for (RuleList::const_iterator it = rules_.begin(); it != rules_.end(); in GetRuleByUrl()
73 return rules_[0]; in GetRuleByUrl()
77 for (RuleList::const_iterator it = rules_.begin(); it != rules_.end(); in GetRuleByBytes()
83 return rules_[0]; in GetRuleByBytes()
88 RuleList rules_; member in net::__anon21bad1ce0111::Rules
93 explicit RuleBasedProxyScriptFetcher(const Rules* rules) : rules_(rules) {} in RuleBasedProxyScriptFetcher()
99 const Rules::Rule& rule = rules_->GetRuleByUrl(url); in Fetch()
[all …]
/external/chromium/net/base/
Dmock_host_resolver.cc82 rules_ = new RuleBasedHostResolverProc(catchall); in Reset()
84 HostResolverProc* proc = rules_; in Reset()
151 rules_.push_back(rule); in AddRuleForAddressFamily()
158 rules_.push_back(rule); in AddIPv6Rule()
168 rules_.push_back(rule); in AddRuleWithLatency()
175 rules_.push_back(rule); in AllowDirectLookup()
182 rules_.push_back(rule); in AddSimulatedFailure()
189 for (r = rules_.begin(); r != rules_.end(); ++r) { in Resolve()
Dmock_host_resolver.h53 RuleBasedHostResolverProc* rules() { return rules_; } in rules()
68 scoped_refptr<RuleBasedHostResolverProc> rules_; variable
141 RuleList rules_; variable