Home
last modified time | relevance | path

Searched refs:HasHostPermission (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/extensions/
Dextension_cookies_helpers.cc113 if (!extension->HasHostPermission(cookie_domain_url)) in AppendMatchingCookiesToList()
Dextension_function_dispatcher.cc424 if (extension->HasHostPermission(GURL(chrome::kChromeUIFaviconURL))) { in ExtensionFunctionDispatcher()
Dextension_cookies_api.cc128 !GetExtension()->HasHostPermission(*url)) { in ParseUrl()
/external/chromium/chrome/common/extensions/
Dextension_unittest.cc1389 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()
Dextension.h496 bool HasHostPermission(const GURL& url) const;
Dextension.cc2709 bool Extension::HasHostPermission(const GURL& url) const { in HasHostPermission() function in Extension
2883 if (HasHostPermission(page_url) || page_url.GetOrigin() == url()) in CanCaptureVisiblePage()