/external/chromium/chrome/browser/extensions/ |
D | convert_web_app_browsertest.cc | 73 ASSERT_EQ(2u, installed_extension_->api_permissions().size()); in IN_PROC_BROWSER_TEST_F() 74 EXPECT_TRUE(installed_extension_->api_permissions().find("geolocation") != in IN_PROC_BROWSER_TEST_F() 75 installed_extension_->api_permissions().end()); in IN_PROC_BROWSER_TEST_F() 76 EXPECT_TRUE(installed_extension_->api_permissions().find("notifications") != in IN_PROC_BROWSER_TEST_F() 77 installed_extension_->api_permissions().end()); in IN_PROC_BROWSER_TEST_F()
|
D | convert_web_app_unittest.cc | 126 EXPECT_EQ(2u, extension->api_permissions().size()); in TEST() 170 EXPECT_EQ(0u, extension->api_permissions().size()); in TEST()
|
D | extension_prefs.h | 183 std::set<std::string>* api_permissions, 192 const std::set<std::string>& api_permissions,
|
D | extension_info_map.cc | 133 return info->second->api_permissions().count(permission_name) != 0; in CheckURLAccessToExtensionPermission()
|
D | extension_prefs.cc | 646 std::set<std::string>* api_permissions, in GetGrantedPermissions() argument 655 extension_id, kPrefGrantedPermissionsAPI, api_permissions); in GetGrantedPermissions() 691 const std::set<std::string>& api_permissions, in AddGrantedPermissions() argument 698 if (!api_permissions.empty()) { in AddGrantedPermissions() 700 extension_id, kPrefGrantedPermissionsAPI, api_permissions); in AddGrantedPermissions()
|
D | extension_management_api.cc | 94 const std::set<std::string> perms = extension.api_permissions(); in CreateExtensionInfo()
|
D | extension_service_unittest.cc | 1352 std::set<std::string> api_permissions; in TEST_F() local 1355 extension_id, &full_access, &api_permissions, &host_permissions)); in TEST_F() 1358 EXPECT_TRUE(api_permissions.empty()); in TEST_F() 1393 std::set<std::string> api_permissions; in TEST_F() local 1399 SetPrefStringSet(extension_id, "granted_permissions.api", api_permissions); in TEST_F() 1432 api_permissions.clear(); in TEST_F() 1437 api_permissions.insert("tabs"); in TEST_F() 1442 SetPrefStringSet(extension_id, "granted_permissions.api", api_permissions); in TEST_F()
|
D | extension_function_dispatcher.cc | 433 extension->id(), extension->api_permissions())); in ExtensionFunctionDispatcher()
|
D | extension_service.cc | 798 extension->api_permissions(), in GrantPermissions()
|
/external/chromium/chrome/browser/ |
D | background_application_list_model.cc | 91 const std::set<std::string>& api_permissions) { in HasBackgroundAppPermission() argument 93 api_permissions, Extension::kBackgroundPermission); in HasBackgroundAppPermission() 239 return HasBackgroundAppPermission(extension.api_permissions()); in IsBackgroundApp()
|
/external/chromium/chrome/common/extensions/ |
D | extension.h | 471 static bool HasApiPermission(const std::set<std::string>& api_permissions, 479 const std::set<std::string>& api_permissions); 482 return HasApiPermission(this->api_permissions(), function_name); in HasApiPermission() 600 const std::set<std::string>& api_permissions() const { in api_permissions() function
|
D | extension.cc | 508 for (i = api_permissions().begin(); i != api_permissions().end(); ++i) { in GetSimplePermissionMessages() 1585 std::set<std::string> new_apis = new_extension->api_permissions(); in IsPrivilegeIncrease() 2677 const std::set<std::string>& api_permissions, in HasApiPermission() argument 2697 if (api_permissions.count(permission_name)) in HasApiPermission() 2821 const std::set<std::string>& api_permissions) { in HasEffectiveAccessToAllHosts() argument 2835 api_permissions()); in HasEffectiveAccessToAllHosts() 2934 extension_api_permissions(extension.api_permissions()), in UninstalledExtensionInfo()
|
/external/chromium/chrome/browser/automation/ |
D | testing_automation_provider.cc | 3869 std::set<std::string> perm_list = ext->api_permissions(); in GetAPIPermissions()
|