Home | History | Annotate | Download | only in common

Lines Matching refs:URLPattern

34 // The bitmask for valid user script injectable schemes used by URLPattern.
36 kValidUserScriptSchemes = URLPattern::SCHEME_CHROMEUI |
37 URLPattern::SCHEME_HTTP |
38 URLPattern::SCHEME_HTTPS |
39 URLPattern::SCHEME_FILE |
40 URLPattern::SCHEME_FTP
61 return URLPattern::SCHEME_ALL;
65 valid_schemes &= ~URLPattern::SCHEME_CHROMEUI;
93 void UserScript::add_url_pattern(const URLPattern& pattern) {
97 void UserScript::add_exclude_url_pattern(const URLPattern& pattern) {
232 URLPattern pattern(kValidUserScriptSchemes);
233 URLPattern::ParseResult result = pattern.Parse(pattern_str);
234 CHECK(URLPattern::PARSE_SUCCESS == result) <<
235 URLPattern::GetParseResultString(result) << " " << pattern_str.c_str();