Home
last modified time | relevance | path

Searched refs:MatchesScheme (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/common/extensions/
Durl_pattern_unittest.cc216 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 …]
Durl_pattern.cc219 if (!MatchesScheme(test.scheme())) in MatchesUrl()
234 bool URLPattern::MatchesScheme(const std::string& test) const { in MatchesScheme() function in URLPattern
314 if (!MatchesScheme(other.scheme_) && !other.MatchesScheme(scheme_)) in OverlapsWith()
344 if (MatchesScheme(kValidSchemes[i])) { in ConvertToExplicitSchemes()
Durl_pattern.h188 bool MatchesScheme(const std::string& test) const;
Dextension.cc786 if (pattern.MatchesScheme(chrome::kFileScheme) && in LoadUserScriptHelper()
2265 if (pattern.MatchesScheme(chrome::kFileScheme) && in InitFromValue()
2664 pattern.MatchesScheme(chrome::kChromeUIScheme)) { in CanSpecifyHostPermission()
/external/chromium/chrome/browser/extensions/
Dextension_prefs.cc677 if (!allow_file_access && pattern.MatchesScheme(chrome::kFileScheme)) { in GetGrantedPermissions()