Lines Matching refs:URLPattern
29 // The bitmask for valid user script injectable schemes used by URLPattern.
31 kValidUserScriptSchemes = URLPattern::SCHEME_CHROMEUI |
32 URLPattern::SCHEME_HTTP |
33 URLPattern::SCHEME_HTTPS |
34 URLPattern::SCHEME_FILE |
35 URLPattern::SCHEME_FTP
50 return URLPattern::SCHEME_ALL;
54 valid_schemes &= ~URLPattern::SCHEME_CHROMEUI;
79 void UserScript::add_url_pattern(const URLPattern& pattern) {
83 void UserScript::add_exclude_url_pattern(const URLPattern& pattern) {
214 URLPattern pattern(kValidUserScriptSchemes);
215 URLPattern::ParseResult result = pattern.Parse(pattern_str);
216 CHECK(URLPattern::PARSE_SUCCESS == result) <<
217 URLPattern::GetParseResultString(result) << " " << pattern_str.c_str();