Searched refs:host_permissions (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/extensions/common/permissions/ |
D | permissions_data.cc | 97 URLPatternSet* host_permissions, in ParseHelper() argument 214 host_permissions->AddPattern(pattern); in ParseHelper() 218 host_permissions->AddPatterns( in ParseHelper() 249 URLPatternSet host_permissions; member 569 &initial_required_permissions_->host_permissions, in ParsePermissions() 590 &initial_optional_permissions_->host_permissions, in ParsePermissions() 607 initial_required_permissions_->host_permissions, in FinalizePermissions() 613 initial_required_permissions_->host_permissions, in FinalizePermissions() 619 initial_optional_permissions_->host_permissions, in FinalizePermissions()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_prefs.cc | 657 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()
|
D | extension_service_unittest.cc | 978 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()
|
D | extension_management_api.cc | 108 const URLPatternList host_perms = extension.host_permissions(); in CreateExtensionInfo()
|
D | extension_function_dispatcher.cc | 435 extension->url(), extension->host_permissions())); in ExtensionFunctionDispatcher()
|
/external/chromium/chrome/common/extensions/ |
D | extension.cc | 2710 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()
|
D | extension.h | 603 const URLPatternList& host_permissions() const { return host_permissions_; } in host_permissions() function
|
/external/chromium_org/chrome/browser/extensions/api/management/ |
D | management_api.cc | 178 info->host_permissions.push_back(iter->GetAsString()); in CreateExtensionInfo()
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_service_unittest.cc | 2154 std::set<std::string> host_permissions; in TEST_F() local 2189 host_permissions.clear(); in TEST_F() 2192 host_permissions.insert("http://*.google.com/*"); in TEST_F() 2193 host_permissions.insert("https://*.google.com/*"); in TEST_F() 2194 host_permissions.insert("http://*.google.com.hk/*"); in TEST_F() 2202 extension_id, "granted_permissions.scriptable_host", host_permissions); in TEST_F()
|