Lines Matching refs:pattern
430 void Extension::AddWebExtentPattern(const URLPattern& pattern) {
435 extent_.AddPattern(pattern);
622 URLPattern pattern(kValidWebExtentSchemes);
623 URLPattern::ParseResult parse_result = pattern.Parse(pattern_string);
626 parse_result = pattern.Parse(pattern_string);
638 if (pattern.match_all_urls()) {
647 if (pattern.host().empty()) {
657 if (pattern.path().find('*') != std::string::npos) {
664 pattern.SetPath(pattern.path() + '*');
666 extent->AddPattern(pattern);