Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/extensions/
Dextension_prefs.cc657 std::set<std::string> host_permissions; in GetGrantedPermissions() local
659 extension_id, kPrefGrantedPermissionsHost, &host_permissions); in GetGrantedPermissions()
665 for (std::set<std::string>::iterator i = host_permissions.begin(); in GetGrantedPermissions()
666 i != host_permissions.end(); ++i) { in GetGrantedPermissions()
704 std::set<std::string> host_permissions; in AddGrantedPermissions() local
705 ExtentToStringSet(host_extent, &host_permissions); in AddGrantedPermissions()
708 extension_id, kPrefGrantedPermissionsHost, host_permissions); in AddGrantedPermissions()
Dextension_service_unittest.cc978 const std::vector<URLPattern> permissions = extension->host_permissions(); in TEST_F()
1353 ExtensionExtent host_permissions; in TEST_F() local
1355 extension_id, &full_access, &api_permissions, &host_permissions)); in TEST_F()
1359 EXPECT_TRUE(host_permissions.is_empty()); in TEST_F()
1394 std::set<std::string> host_permissions; in TEST_F() local
1433 host_permissions.clear(); in TEST_F()
1438 host_permissions.insert("http://*.google.com/*"); in TEST_F()
1439 host_permissions.insert("https://*.google.com/*"); in TEST_F()
1440 host_permissions.insert("http://*.google.com.hk/*"); in TEST_F()
1443 SetPrefStringSet(extension_id, "granted_permissions.host", host_permissions); in TEST_F()
Dextension_management_api.cc108 const URLPatternList host_perms = extension.host_permissions(); in CreateExtensionInfo()
Dextension_function_dispatcher.cc435 extension->url(), extension->host_permissions())); in ExtensionFunctionDispatcher()
/external/chromium/chrome/common/extensions/
Dextension.cc2710 for (URLPatternList::const_iterator host = host_permissions().begin(); in HasHostPermission()
2711 host != host_permissions().end(); ++host) { in HasHostPermission()
2736 for (URLPatternList::const_iterator host = host_permissions().begin(); in InitEffectiveHostPermissions()
2737 host != host_permissions().end(); ++host) in InitEffectiveHostPermissions()
Dextension.h603 const URLPatternList& host_permissions() const { return host_permissions_; } in host_permissions() function