Searched refs:web_extent (Results 1 – 17 of 17) sorted by relevance
13 ASSERT_EQ(1u, extension->web_extent().patterns().size()); in TEST_F()14 EXPECT_EQ("/*", extension->web_extent().patterns().begin()->path()); in TEST_F()15 EXPECT_TRUE(extension->web_extent().MatchesURL( in TEST_F()
55 ASSERT_EQ(1u, extension->web_extent().patterns().size()); in TEST_F()57 extension->web_extent().patterns().begin()->GetAsString()); in TEST_F()
19 EXPECT_EQ(expected_patterns, extension->web_extent()); in TEST_F()
47 !old_url_extension->web_extent().is_empty() && in CrossesExtensionProcessBoundary()50 (!new_url_extension->web_extent().is_empty() && in CrossesExtensionProcessBoundary()
100 if (iter->second->web_extent().MatchesURL(url)) in GetHostedAppByURL()111 if (iter->second->web_extent().OverlapsWith(extent)) in GetHostedAppByOverlappingWebExtent()148 it->second->web_extent().MatchesURL(url)) in ExtensionBindingsAllowed()
286 if (web_extent().is_empty()) in OverlapsWithOrigin()299 return web_extent().OverlapsWith(origin_only_pattern_list); in OverlapsWithOrigin()
352 const URLPatternSet& web_extent() const { return extent_; } in web_extent() function
135 ASSERT_EQ(0u, extension->web_extent().patterns().size()); in TEST()182 ASSERT_EQ(0u, extension->web_extent().patterns().size()); in TEST()
71 ASSERT_TRUE(app->web_extent().MatchesURL(app_url)); in TEST_F()
404 URLPatternSet patterns = install_checker_.extension()->web_extent(); in AllowInstall()593 extension()->web_extent()); in ConfirmInstall()
2477 EXPECT_TRUE(extension->web_extent().MatchesURL( in TEST_F()2491 EXPECT_TRUE(extension->web_extent().MatchesURL( in TEST_F()4410 EXPECT_TRUE(extension->web_extent().MatchesURL( in TEST_F()
227 extensions::URLPatternSet web_extent = (*extension)->web_extent(); in AddExceptionsGrantedByHostedApps() local229 for (extensions::URLPatternSet::const_iterator pattern = web_extent.begin(); in AddExceptionsGrantedByHostedApps()230 pattern != web_extent.end(); ++pattern) { in AddExceptionsGrantedByHostedApps()238 if (web_extent.MatchesURL(launch_url)) in AddExceptionsGrantedByHostedApps()
152 if ((*i)->web_extent().MatchesSecurityOrigin(origin) && in GetExtensionsWithAPIPermissionForSecurityOrigin()
182 if (extension->web_extent().is_empty() && !launch_web_url_.is_empty()) { in LoadLaunchURL()
306 extension->web_extent().MatchesURL(tab_url)) || in WebContentMatchesApp()
450 DCHECK(extension->web_extent().MatchesURL(override_url) || in UrlForExtension()
1005 extension->web_extent().MatchesURL(app_url); in IsNaClAllowed()