Searched refs:web_extent (Results 1 – 13 of 13) sorted by relevance
129 ASSERT_EQ(1u, extension->web_extent().patterns().size()); in TEST()131 extension->web_extent().patterns()[0].GetAsString()); in TEST()171 ASSERT_EQ(1u, extension->web_extent().patterns().size()); in TEST()173 extension->web_extent().patterns()[0].GetAsString()); in TEST()
83 !iter->second->web_extent().is_empty(); in ExtensionHasWebExtent()126 !info->second->web_extent().ContainsURL(url)) in CheckURLAccessToExtensionPermission()
277 extension_->web_extent().patterns(); in AllowInstall()353 frontend_->GetExtensionByOverlappingWebExtent(extension_->web_extent()); in ConfirmInstall()
137 ASSERT_TRUE(app->web_extent().ContainsURL(app_url)); in TEST_F()
797 } else if (!extension->web_extent().ContainsURL(url)) { in GetActivePagesForExtensionProcess()
1851 if (extensions_[i]->web_extent().ContainsURL(url)) in GetExtensionByWebExtent()1870 if (extensions_[i]->web_extent().OverlapsWith(extent)) in GetExtensionByOverlappingWebExtent()
1754 EXPECT_TRUE(extension->web_extent().ContainsURL( in TEST_F()1768 EXPECT_TRUE(extension->web_extent().ContainsURL( in TEST_F()
150 ASSERT_EQ(2u, extension->web_extent().patterns().size()); in TEST_F()152 extension->web_extent().patterns()[0].GetAsString()); in TEST_F()154 extension->web_extent().patterns()[1].GetAsString()); in TEST_F()211 ASSERT_EQ(1u, extension->web_extent().patterns().size()); in TEST_F()213 extension->web_extent().patterns()[0].GetAsString()); in TEST_F()512 ASSERT_EQ(1u, extension->web_extent().patterns().size()); in TEST_F()513 EXPECT_EQ("/*", extension->web_extent().patterns()[0].path()); in TEST_F()514 EXPECT_TRUE(extension->web_extent().ContainsURL( in TEST_F()
49 if (i->second->web_extent().ContainsURL(url)) in GetByURL()76 i->second->web_extent().ContainsURL(url)) in ExtensionBindingsAllowed()
621 bool is_hosted_app() const { return is_app() && !web_extent().is_empty(); } in is_hosted_app()622 bool is_packaged_app() const { return is_app() && web_extent().is_empty(); } in is_packaged_app()624 const ExtensionExtent& web_extent() const { return extent_; } in web_extent() function
1296 if (web_extent().is_empty() && !launch_web_url().empty()) { in LoadLaunchURL()1436 if (web_extent().is_empty()) in EnsureNotHybridApp()2225 if (web_extent().is_empty() || location() == Extension::COMPONENT) { in InitFromValue()2902 if (web_extent().is_empty()) in OverlapsWithOrigin()2915 return web_extent().OverlapsWith(origin_only_pattern_list); in OverlapsWithOrigin()
876 } else if (!extension->web_extent().ContainsURL(url)) { in GetActivePagesForExtensionProcess()
555 DCHECK(extension->web_extent().ContainsURL(url_input)); in OpenApplicationWindow()