Home
last modified time | relevance | path

Searched refs:web_extent (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/chrome/common/extensions/manifest_tests/
Dextension_manifests_default_extent_path_unittest.cc13 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()
Dextension_manifests_web_unittest.cc55 ASSERT_EQ(1u, extension->web_extent().patterns().size()); in TEST_F()
57 extension->web_extent().patterns().begin()->GetAsString()); in TEST_F()
Dextension_manifests_validapp_unittest.cc19 EXPECT_EQ(expected_patterns, extension->web_extent()); in TEST_F()
/external/chromium_org/chrome/common/extensions/
Dextension_process_policy.cc47 !old_url_extension->web_extent().is_empty() && in CrossesExtensionProcessBoundary()
50 (!new_url_extension->web_extent().is_empty() && in CrossesExtensionProcessBoundary()
/external/chromium_org/extensions/common/
Dextension_set.cc100 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()
Dextension.cc286 if (web_extent().is_empty()) in OverlapsWithOrigin()
299 return web_extent().OverlapsWith(origin_only_pattern_list); in OverlapsWithOrigin()
Dextension.h352 const URLPatternSet& web_extent() const { return extent_; } in web_extent() function
/external/chromium_org/chrome/browser/extensions/
Dconvert_web_app_unittest.cc135 ASSERT_EQ(0u, extension->web_extent().patterns().size()); in TEST()
182 ASSERT_EQ(0u, extension->web_extent().patterns().size()); in TEST()
Dchrome_info_map_unittest.cc71 ASSERT_TRUE(app->web_extent().MatchesURL(app_url)); in TEST_F()
Dcrx_installer.cc404 URLPatternSet patterns = install_checker_.extension()->web_extent(); in AllowInstall()
593 extension()->web_extent()); in ConfirmInstall()
Dextension_service_unittest.cc2477 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()
/external/chromium_org/chrome/browser/ui/webui/options/
Dcontent_settings_handler.cc227 extensions::URLPatternSet web_extent = (*extension)->web_extent(); in AddExceptionsGrantedByHostedApps() local
229 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()
/external/chromium_org/extensions/browser/
Dinfo_map.cc152 if ((*i)->web_extent().MatchesSecurityOrigin(origin) && in GetExtensionsWithAPIPermissionForSecurityOrigin()
/external/chromium_org/chrome/common/extensions/manifest_handlers/
Dapp_launch_info.cc182 if (extension->web_extent().is_empty() && !launch_web_url_.is_empty()) { in LoadLaunchURL()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dapp_shortcut_launcher_item_controller.cc306 extension->web_extent().MatchesURL(tab_url)) || in WebContentMatchesApp()
/external/chromium_org/chrome/browser/ui/extensions/
Dapplication_launch.cc450 DCHECK(extension->web_extent().MatchesURL(override_url) || in UrlForExtension()
/external/chromium_org/chrome/renderer/
Dchrome_content_renderer_client.cc1005 extension->web_extent().MatchesURL(app_url); in IsNaClAllowed()