/external/chromium_org/extensions/common/permissions/ |
D | permissions_data_unittest.cc | 49 return extension->permissions_data()->CheckAPIPermissionWithParam( in CheckSocketPermission() 84 return extension->permissions_data()->RequiresActionForScriptExecution( in RequiresActionForScriptExecution() 163 extension->permissions_data() in TEST() 168 EXPECT_FALSE(extension->permissions_data()->HasEffectiveAccessToAllHosts()); in TEST() 171 hosts = extension->permissions_data()->GetEffectiveHostPermissions(); in TEST() 174 EXPECT_FALSE(extension->permissions_data()->HasEffectiveAccessToAllHosts()); in TEST() 178 hosts = extension->permissions_data()->GetEffectiveHostPermissions(); in TEST() 181 EXPECT_FALSE(extension->permissions_data()->HasEffectiveAccessToAllHosts()); in TEST() 184 hosts = extension->permissions_data()->GetEffectiveHostPermissions(); in TEST() 187 EXPECT_FALSE(extension->permissions_data()->HasEffectiveAccessToAllHosts()); in TEST() [all …]
|
/external/chromium_org/chrome/browser/extensions/ |
D | active_tab_permission_granter.cc | 43 const PermissionsData* permissions_data = extension->permissions_data(); in GrantIfRequested() local 51 permissions_data->RequiresActionForScriptExecution(extension, in GrantIfRequested() 55 if (extension->permissions_data()->HasAPIPermission( in GrantIfRequested() 67 if (extension->permissions_data()->HasAPIPermission( in GrantIfRequested() 76 permissions_data->UpdateTabSpecificPermissions(tab_id_, new_permissions); in GrantIfRequested() 126 it->get()->permissions_data()->ClearTabSpecificPermissions(tab_id_); in ClearActiveExtensionsAndNotify()
|
D | browser_permissions_policy_delegate_unittest.cc | 77 const PermissionsData* permissions_data = extension->permissions_data(); in TEST_F() local 78 EXPECT_TRUE(permissions_data->CanAccessPage(extension, in TEST_F() 85 EXPECT_FALSE(permissions_data->CanAccessPage(extension, in TEST_F()
|
D | extension_special_storage_policy.cc | 107 extension->permissions_data()->HasAPIPermission( in GrantRightsForExtension() 109 extension->permissions_data()->HasAPIPermission( in GrantRightsForExtension() 125 if (extension->permissions_data()->HasAPIPermission( in GrantRightsForExtension() 130 if (extension->permissions_data()->HasAPIPermission( in GrantRightsForExtension() 148 extension->permissions_data()->HasAPIPermission( in RevokeRightsForExtension() 150 extension->permissions_data()->HasAPIPermission( in RevokeRightsForExtension() 165 if (extension->permissions_data()->HasAPIPermission( in RevokeRightsForExtension() 170 if (extension->permissions_data()->HasAPIPermission( in RevokeRightsForExtension()
|
D | active_tab_unittest.cc | 110 const PermissionsData* permissions_data = extension->permissions_data(); in IsAllowed() local 112 permissions_data->CanAccessPage(extension, url, url, tab_id, -1, NULL); in IsAllowed() 114 permissions_data->CanCaptureVisiblePage(tab_id, NULL); in IsAllowed() 146 return extension->permissions_data()->HasAPIPermissionForTab( in HasTabsPermission() 152 return extension->permissions_data()->HasAPIPermissionForTab( in IsGrantedForTab() 371 const PermissionsData* permissions_data = in TEST_F() local 372 extension_with_tab_capture->permissions_data(); in TEST_F() 373 EXPECT_TRUE(permissions_data->HasAPIPermissionForTab( in TEST_F() 377 EXPECT_FALSE(permissions_data->HasAPIPermissionForTab( in TEST_F()
|
D | permissions_updater.cc | 42 extension->permissions_data()->active_permissions()); in AddPermissions() 59 extension->permissions_data()->active_permissions()); in RemovePermissions() 84 extension->permissions_data()->active_permissions().get()); in GrantActivePermissions() 122 extension->permissions_data()->SetActivePermissions(permissions); in SetActivePermissions()
|
D | permissions_updater_unittest.cc | 133 extension->permissions_data()->active_permissions(); in TEST_F() 135 *extension->permissions_data()->active_permissions().get()); in TEST_F() 164 *extension->permissions_data()->active_permissions().get()); in TEST_F() 200 *extension->permissions_data()->active_permissions().get()); in TEST_F()
|
/external/chromium_org/chrome/common/extensions/ |
D | extension_unittest.cc | 239 EXPECT_FALSE(extension->permissions_data()->CanAccessPage( in TEST() 244 EXPECT_TRUE(extension->permissions_data()->CanAccessPage( in TEST() 250 EXPECT_FALSE(extension->permissions_data()->CanAccessPage( in TEST() 256 EXPECT_TRUE(extension->permissions_data()->CanAccessPage( in TEST() 262 EXPECT_FALSE(extension->permissions_data()->CanAccessPage( in TEST() 268 EXPECT_FALSE(extension->permissions_data()->CanAccessPage( in TEST() 274 EXPECT_FALSE(extension->permissions_data()->CanRunContentScriptOnPage( in TEST() 279 EXPECT_TRUE(extension->permissions_data()->CanRunContentScriptOnPage( in TEST() 285 EXPECT_FALSE(extension->permissions_data()->CanRunContentScriptOnPage( in TEST() 290 EXPECT_TRUE(extension->permissions_data()->CanRunContentScriptOnPage( in TEST() [all …]
|
/external/chromium_org/chrome/common/extensions/permissions/ |
D | settings_override_permission_unittest.cc | 67 extension->permissions_data()->active_permissions()); in TEST_F() 72 extension->permissions_data()->GetPermissionMessageStrings(); in TEST_F() 91 extension->permissions_data()->active_permissions()); in TEST_F() 96 extension->permissions_data()->GetPermissionMessageStrings(); in TEST_F() 115 extension->permissions_data()->active_permissions()); in TEST_F() 120 extension->permissions_data()->GetPermissionMessageStrings(); in TEST_F() 139 extension->permissions_data()->active_permissions()); in TEST_F() 157 extension->permissions_data()->active_permissions()); in TEST_F()
|
D | permission_set_unittest.cc | 134 permissions = extension->permissions_data()->active_permissions(); in TEST() 136 extension->permissions_data() in TEST() 145 permissions = extension->permissions_data()->active_permissions(); in TEST() 154 permissions = extension->permissions_data()->active_permissions(); in TEST() 161 permissions = extension->permissions_data()->active_permissions(); in TEST() 170 permissions = extension->permissions_data()->active_permissions(); in TEST() 177 permissions = extension->permissions_data()->active_permissions(); in TEST() 186 permissions = extension->permissions_data()->active_permissions(); in TEST() 194 permissions = extension->permissions_data()->active_permissions(); in TEST() 201 permissions = extension->permissions_data()->active_permissions(); in TEST() [all …]
|
/external/chromium_org/chrome/renderer/extensions/ |
D | renderer_permissions_policy_delegate_unittest.cc | 71 EXPECT_TRUE(extension->permissions_data()->CanAccessPage( in TEST_F() 77 EXPECT_FALSE(extension->permissions_data()->CanAccessPage( in TEST_F() 89 EXPECT_TRUE(extension->permissions_data()->CanAccessPage( in TEST_F() 99 EXPECT_FALSE(extension->permissions_data()->CanAccessPage( in TEST_F()
|
D | chrome_extensions_dispatcher_delegate.cc | 76 extension->permissions_data()->HasAPIPermission( in InitOriginPermissions() 274 if (extension->permissions_data()->HasAPIPermission( in RequireAdditionalModules() 321 extension->permissions_data()->ClearTabSpecificPermissions(tab_id); in ClearTabSpecificPermissions() 345 extension->permissions_data()->UpdateTabSpecificPermissions( in UpdateTabSpecificPermissions()
|
/external/chromium_org/extensions/browser/ |
D | info_map_unittest.cc | 149 match->permissions_data()->HasAPIPermission( in TEST_F() 153 match->permissions_data()->HasAPIPermission( in TEST_F() 157 match->permissions_data()->HasAPIPermission(APIPermission::kTab)); in TEST_F() 163 match->permissions_data()->HasAPIPermission(APIPermission::kTab)); in TEST_F() 165 match->permissions_data()->HasAPIPermission( in TEST_F()
|
/external/chromium_org/chrome/browser/extensions/api/autotest_private/ |
D | autotest_private_api.cc | 35 const PermissionsData* permissions_data = ext->permissions_data(); in GetHostPermissions() local 37 effective_perm ? permissions_data->GetEffectiveHostPermissions() in GetHostPermissions() 38 : permissions_data->active_permissions()->explicit_hosts(); in GetHostPermissions() 53 ext->permissions_data()->active_permissions()->GetAPIsAsStrings(); in GetAPIPermissions()
|
/external/chromium_org/extensions/common/ |
D | extension_messages.cc | 36 apis(extension->permissions_data()->active_permissions()->apis()), in ExtensionMsg_Loaded_Params() 37 manifest_permissions(extension->permissions_data() in ExtensionMsg_Loaded_Params() 40 explicit_hosts(extension->permissions_data() in ExtensionMsg_Loaded_Params() 43 scriptable_hosts(extension->permissions_data() in ExtensionMsg_Loaded_Params() 55 extension->permissions_data()->SetActivePermissions(new PermissionSet( in ConvertToExtension()
|
/external/chromium_org/chrome/browser/background/ |
D | background_application_list_model_unittest.cc | 144 temporary->permissions_data()->active_permissions(); in AddBackgroundPermission() 156 extension, extension->permissions_data()->active_permissions().get()); in RemoveBackgroundPermission() 325 ext->permissions_data()->HasAPIPermission(APIPermission::kBackground)); in TEST_F() 328 bgapp->permissions_data()->HasAPIPermission(APIPermission::kBackground)); in TEST_F() 346 ext->permissions_data()->HasAPIPermission(APIPermission::kBackground)); in TEST_F() 351 bgapp->permissions_data()->HasAPIPermission(APIPermission::kBackground)); in TEST_F() 356 ext->permissions_data()->HasAPIPermission(APIPermission::kBackground)); in TEST_F() 361 bgapp->permissions_data()->HasAPIPermission(APIPermission::kBackground)); in TEST_F()
|
/external/chromium_org/extensions/common/manifest_handlers/ |
D | externally_connectable_unittest.cc | 42 EXPECT_TRUE(extension->permissions_data()->HasAPIPermission( in TEST_F() 104 EXPECT_FALSE(extension->permissions_data()->HasAPIPermission( in TEST_F() 125 EXPECT_TRUE(extension->permissions_data()->HasAPIPermission( in TEST_F() 168 EXPECT_TRUE(extension->permissions_data()->HasAPIPermission( in TEST_F() 193 EXPECT_FALSE(extension->permissions_data()->HasAPIPermission( in TEST_F()
|
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
D | web_request_permissions.cc | 134 extension->permissions_data()->HasHostPermission(url) || in CanExtensionAccessURL() 140 if (!extension->permissions_data()->HasEffectiveAccessToAllHosts()) in CanExtensionAccessURL()
|
/external/chromium_org/chrome/browser/media_galleries/ |
D | media_galleries_scan_result_controller.cc | 117 const extensions::PermissionsData* permissions_data = in GetSubtext() local 118 extension_->permissions_data(); in GetSubtext() 119 bool has_copy_to_permission = permissions_data->CheckAPIPermissionWithParam( in GetSubtext() 121 bool has_delete_permission = permissions_data->CheckAPIPermissionWithParam( in GetSubtext()
|
/external/chromium_org/chrome/common/extensions/manifest_tests/ |
D | extension_manifests_old_unittest.cc | 17 EXPECT_TRUE(extension->permissions_data()->HasAPIPermission( in TEST_F()
|
D | extension_manifests_devtools_unittest.cc | 23 EXPECT_TRUE(extension->permissions_data()->HasEffectiveAccessToAllHosts()); in TEST_F()
|
/external/chromium_org/extensions/browser/api/socket/ |
D | socket_api.cc | 213 if (!GetExtension()->permissions_data()->CheckAPIPermissionWithParam( in AsyncWorkStart() 278 if (!GetExtension()->permissions_data()->CheckAPIPermissionWithParam( in Work() 311 if (!GetExtension()->permissions_data()->CheckAPIPermissionWithParam( in Work() 513 if (!GetExtension()->permissions_data()->CheckAPIPermissionWithParam( in AsyncWorkStart() 727 if (!GetExtension()->permissions_data()->CheckAPIPermissionWithParam( in Work() 771 if (!GetExtension()->permissions_data()->CheckAPIPermissionWithParam( in Work() 878 if (!GetExtension()->permissions_data()->CheckAPIPermissionWithParam( in Work()
|
/external/chromium_org/chrome/browser/extensions/api/guest_view/ |
D | guest_view_internal_api.cc | 27 if (!GetExtension()->permissions_data()->HasAPIPermission( in RunAsync()
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
D | location_bar.cc | 28 ((*i)->permissions_data()->HasAPIPermission( in IsBookmarkStarHiddenByExtension()
|
/external/chromium_org/chrome/browser/extensions/api/push_messaging/ |
D | push_messaging_api.cc | 346 if (extension->permissions_data()->HasAPIPermission( in OnExtensionLoaded() 359 if (extension->permissions_data()->HasAPIPermission( in OnExtensionUnloaded() 372 extension->permissions_data()->HasAPIPermission( in OnExtensionWillBeInstalled()
|