Home | History | Annotate | Download | only in proxy

Lines Matching defs:Rules

27 class Rules {
94 explicit RuleBasedProxyScriptFetcher(const Rules* rules) : rules_(rules) {}
100 const Rules::Rule& rule = rules_->GetRuleByUrl(url);
113 const Rules* rules_;
118 RuleBasedProxyResolver(const Rules* rules, bool expects_pac_bytes)
119 : ProxyResolver(expects_pac_bytes), rules_(rules) {}
147 const Rules::Rule& rule = expects_pac_bytes() ?
168 const Rules* rules_;
174 Rules rules;
175 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/);
176 RuleBasedProxyScriptFetcher fetcher(&rules);
181 Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac");
210 Rules rules;
211 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/);
212 RuleBasedProxyScriptFetcher fetcher(&rules);
217 rules.AddFailDownloadRule("http://custom/proxy.pac");
243 Rules rules;
244 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/);
245 RuleBasedProxyScriptFetcher fetcher(&rules);
250 rules.AddFailParsingRule("http://custom/proxy.pac");
261 Rules rules;
262 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/);
276 Rules rules;
277 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/);
278 RuleBasedProxyScriptFetcher fetcher(&rules);
283 Rules::Rule rule = rules.AddSuccessRule("http://wpad/wpad.dat");
293 Rules rules;
294 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/);
295 RuleBasedProxyScriptFetcher fetcher(&rules);
301 rules.AddFailDownloadRule("http://wpad/wpad.dat");
302 Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac");
312 Rules rules;
313 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/);
314 RuleBasedProxyScriptFetcher fetcher(&rules);
321 rules.AddFailParsingRule("http://wpad/wpad.dat");
322 Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac");
373 Rules rules;
374 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/);
375 RuleBasedProxyScriptFetcher fetcher(&rules);
381 rules.AddFailDownloadRule("http://wpad/wpad.dat");
382 rules.AddFailDownloadRule("http://custom/proxy.pac");
393 Rules rules;
394 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/);
395 RuleBasedProxyScriptFetcher fetcher(&rules);
401 rules.AddFailDownloadRule("http://wpad/wpad.dat");
402 rules.AddFailParsingRule("http://custom/proxy.pac");
415 Rules rules;
416 RuleBasedProxyResolver resolver(&rules, false /*expects_pac_bytes*/);
417 RuleBasedProxyScriptFetcher fetcher(&rules);
423 rules.AddFailParsingRule(""); // Autodetect.
424 Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac");
436 Rules rules;
437 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/);
438 RuleBasedProxyScriptFetcher fetcher(&rules);
443 rules.AddFailDownloadRule("http://custom/proxy.pac");
478 Rules rules;
479 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/);
480 rules);
485 rules.AddFailDownloadRule("http://custom/proxy.pac");