Searched refs:HasHostPermission (Results 1 – 6 of 6) sorted by relevance
113 if (!extension->HasHostPermission(cookie_domain_url)) in AppendMatchingCookiesToList()
424 if (extension->HasHostPermission(GURL(chrome::kChromeUIFaviconURL))) { in ExtensionFunctionDispatcher()
128 !GetExtension()->HasHostPermission(*url)) { in ParseUrl()
1389 EXPECT_FALSE(extension->HasHostPermission(settings_url)); in TEST_F()1390 EXPECT_FALSE(extension->HasHostPermission(about_url)); in TEST_F()1391 EXPECT_TRUE(extension->HasHostPermission(favicon_url)); in TEST_F()1416 EXPECT_TRUE(extension->HasHostPermission(favicon_url)); in TEST_F()1430 EXPECT_TRUE(extension->HasHostPermission(favicon_url)); in TEST_F()1442 EXPECT_FALSE(extension->HasHostPermission(settings_url)); in TEST_F()
496 bool HasHostPermission(const GURL& url) const;
2709 bool Extension::HasHostPermission(const GURL& url) const { in HasHostPermission() function in Extension2883 if (HasHostPermission(page_url) || page_url.GetOrigin() == url()) in CanCaptureVisiblePage()