Searched refs:MatchesScheme (Results 1 – 5 of 5) sorted by relevance
216 EXPECT_TRUE(pattern.MatchesScheme("http")); in TEST()217 EXPECT_TRUE(pattern.MatchesScheme("https")); in TEST()218 EXPECT_FALSE(pattern.MatchesScheme("chrome")); in TEST()219 EXPECT_FALSE(pattern.MatchesScheme("file")); in TEST()220 EXPECT_FALSE(pattern.MatchesScheme("ftp")); in TEST()234 EXPECT_TRUE(pattern.MatchesScheme("chrome")); in TEST()235 EXPECT_TRUE(pattern.MatchesScheme("http")); in TEST()236 EXPECT_TRUE(pattern.MatchesScheme("https")); in TEST()237 EXPECT_TRUE(pattern.MatchesScheme("file")); in TEST()251 EXPECT_TRUE(pattern.MatchesScheme("chrome")); in TEST()[all …]
219 if (!MatchesScheme(test.scheme())) in MatchesUrl()234 bool URLPattern::MatchesScheme(const std::string& test) const { in MatchesScheme() function in URLPattern314 if (!MatchesScheme(other.scheme_) && !other.MatchesScheme(scheme_)) in OverlapsWith()344 if (MatchesScheme(kValidSchemes[i])) { in ConvertToExplicitSchemes()
188 bool MatchesScheme(const std::string& test) const;
786 if (pattern.MatchesScheme(chrome::kFileScheme) && in LoadUserScriptHelper()2265 if (pattern.MatchesScheme(chrome::kFileScheme) && in InitFromValue()2664 pattern.MatchesScheme(chrome::kChromeUIScheme)) { in CanSpecifyHostPermission()
677 if (!allow_file_access && pattern.MatchesScheme(chrome::kFileScheme)) { in GetGrantedPermissions()