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

/external/chromium_org/components/url_matcher/
H A Durl_matcher_factory.cc111 scoped_ptr<URLMatcherPortFilter> url_matcher_port_filter;
238 scoped_ptr<URLMatcherPortFilter> URLMatcherFactory::CreateURLMatcherPorts(
241 std::vector<URLMatcherPortFilter::Range> ranges;
245 return scoped_ptr<URLMatcherPortFilter>();
254 ranges.push_back(URLMatcherPortFilter::CreateRange(port));
261 return scoped_ptr<URLMatcherPortFilter>();
263 ranges.push_back(URLMatcherPortFilter::CreateRange(from, to));
266 return scoped_ptr<URLMatcherPortFilter>();
270 return scoped_ptr<URLMatcherPortFilter>(new URLMatcherPortFilter(range
[all...]
H A Durl_matcher_factory.h55 static scoped_ptr<URLMatcherPortFilter> CreateURLMatcherPorts(
H A Durl_matcher.h285 class URL_MATCHER_EXPORT URLMatcherPortFilter { class in namespace:url_matcher
289 explicit URLMatcherPortFilter(const std::vector<Range>& ranges);
290 ~URLMatcherPortFilter();
301 DISALLOW_COPY_AND_ASSIGN(URLMatcherPortFilter);
322 scoped_ptr<URLMatcherPortFilter> port_filter);
332 scoped_ptr<URLMatcherPortFilter> port_filter);
352 scoped_ptr<URLMatcherPortFilter> port_filter_;
H A Durl_matcher.cc683 // URLMatcherPortFilter
686 URLMatcherPortFilter::URLMatcherPortFilter( function in class:url_matcher::URLMatcherPortFilter
687 const std::vector<URLMatcherPortFilter::Range>& ranges)
690 URLMatcherPortFilter::~URLMatcherPortFilter() {}
692 bool URLMatcherPortFilter::IsMatch(const GURL& url) const {
703 URLMatcherPortFilter::Range URLMatcherPortFilter::CreateRange(int from,
709 URLMatcherPortFilter
[all...]
H A Durl_matcher_unittest.cc48 TEST(URLMatcherPortFilter, TestMatching) {
49 std::vector<URLMatcherPortFilter::Range> ranges;
50 ranges.push_back(URLMatcherPortFilter::CreateRange(80, 90));
51 ranges.push_back(URLMatcherPortFilter::CreateRange(8080));
52 URLMatcherPortFilter filter(ranges);
456 scoped_ptr<URLMatcherPortFilter>()));
463 scoped_ptr<URLMatcherPortFilter>()));
467 std::vector<URLMatcherPortFilter::Range> ranges;
468 ranges.push_back(URLMatcherPortFilter::CreateRange(80));
469 scoped_ptr<URLMatcherPortFilter> filte
[all...]
/external/chromium_org/components/policy/core/browser/
H A Durl_blacklist_manager.cc30 using url_matcher::URLMatcherPortFilter;
353 scoped_ptr<URLMatcherPortFilter> port_filter;
355 std::vector<URLMatcherPortFilter::Range> ranges;
356 ranges.push_back(URLMatcherPortFilter::CreateRange(port));
357 port_filter.reset(new URLMatcherPortFilter(ranges));

Completed in 539 milliseconds