Home
last modified time | relevance | path

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

/external/chromium_org/components/url_matcher/
Durl_matcher_factory.cc111 scoped_ptr<URLMatcherPortFilter> url_matcher_port_filter; in CreateFromURLFilterDictionary()
238 scoped_ptr<URLMatcherPortFilter> URLMatcherFactory::CreateURLMatcherPorts( in CreateURLMatcherPorts()
241 std::vector<URLMatcherPortFilter::Range> ranges; in CreateURLMatcherPorts()
245 return scoped_ptr<URLMatcherPortFilter>(); in CreateURLMatcherPorts()
254 ranges.push_back(URLMatcherPortFilter::CreateRange(port)); in CreateURLMatcherPorts()
261 return scoped_ptr<URLMatcherPortFilter>(); in CreateURLMatcherPorts()
263 ranges.push_back(URLMatcherPortFilter::CreateRange(from, to)); in CreateURLMatcherPorts()
266 return scoped_ptr<URLMatcherPortFilter>(); in CreateURLMatcherPorts()
270 return scoped_ptr<URLMatcherPortFilter>(new URLMatcherPortFilter(ranges)); in CreateURLMatcherPorts()
Durl_matcher.h233 class URL_MATCHER_EXPORT URLMatcherPortFilter {
237 explicit URLMatcherPortFilter(const std::vector<Range>& ranges);
238 ~URLMatcherPortFilter();
249 DISALLOW_COPY_AND_ASSIGN(URLMatcherPortFilter);
269 scoped_ptr<URLMatcherPortFilter> port_filter);
283 scoped_ptr<URLMatcherPortFilter> port_filter_;
Durl_matcher.cc559 URLMatcherPortFilter::URLMatcherPortFilter( in URLMatcherPortFilter() function in url_matcher::URLMatcherPortFilter
560 const std::vector<URLMatcherPortFilter::Range>& ranges) in URLMatcherPortFilter()
563 URLMatcherPortFilter::~URLMatcherPortFilter() {} in ~URLMatcherPortFilter()
565 bool URLMatcherPortFilter::IsMatch(const GURL& url) const { in IsMatch()
576 URLMatcherPortFilter::Range URLMatcherPortFilter::CreateRange(int from, in CreateRange()
582 URLMatcherPortFilter::Range URLMatcherPortFilter::CreateRange(int port) { in CreateRange()
602 scoped_ptr<URLMatcherPortFilter> port_filter) in URLMatcherConditionSet()
Durl_matcher_unittest.cc48 TEST(URLMatcherPortFilter, TestMatching) { in TEST() argument
49 std::vector<URLMatcherPortFilter::Range> ranges; in TEST()
50 ranges.push_back(URLMatcherPortFilter::CreateRange(80, 90)); in TEST()
51 ranges.push_back(URLMatcherPortFilter::CreateRange(8080)); in TEST()
52 URLMatcherPortFilter filter(ranges); in TEST()
456 scoped_ptr<URLMatcherPortFilter>())); in TEST()
463 scoped_ptr<URLMatcherPortFilter>())); in TEST()
467 std::vector<URLMatcherPortFilter::Range> ranges; in TEST()
468 ranges.push_back(URLMatcherPortFilter::CreateRange(80)); in TEST()
469 scoped_ptr<URLMatcherPortFilter> filter(new URLMatcherPortFilter(ranges)); in TEST()
Durl_matcher_factory.h55 static scoped_ptr<URLMatcherPortFilter> CreateURLMatcherPorts(
/external/chromium_org/chrome/browser/policy/
Durl_blacklist_manager.cc37 using url_matcher::URLMatcherPortFilter;
258 scoped_ptr<URLMatcherPortFilter> port_filter; in CreateConditionSet()
260 std::vector<URLMatcherPortFilter::Range> ranges; in CreateConditionSet()
261 ranges.push_back(URLMatcherPortFilter::CreateRange(port)); in CreateConditionSet()
262 port_filter.reset(new URLMatcherPortFilter(ranges)); in CreateConditionSet()