/external/chromium_org/extensions/common/permissions/ |
D | api_permission_set.cc | 29 const APIPermissionInfo* permission_info = in CreateAPIPermission() local 31 if (permission_info) { in CreateAPIPermission() 33 permission_info->CreateAPIPermission()); in CreateAPIPermission() 35 permission_info->is_internal()) { in CreateAPIPermission() 51 permission_info->name()); in CreateAPIPermission() 55 permission_info->name(), in CreateAPIPermission() 123 const APIPermissionInfo* permission_info = in insert() local 125 DCHECK(permission_info); in insert() 126 insert(permission_info->CreateAPIPermission()); in insert()
|
D | api_permission_set_unittest.cc | 43 const APIPermissionInfo* permission_info = in TEST() local 45 permission = permission_info->CreateAPIPermission(); in TEST() 80 permission = permission_info->CreateAPIPermission(); in TEST() 94 permission = permission_info->CreateAPIPermission(); in TEST() 126 const APIPermissionInfo* permission_info = in TEST() local 132 permission = permission_info->CreateAPIPermission(); in TEST() 160 permission = permission_info->CreateAPIPermission(); in TEST() 171 permission = permission_info->CreateAPIPermission(); in TEST() 200 const APIPermissionInfo* permission_info = in TEST() local 206 permission = permission_info->CreateAPIPermission(); in TEST() [all …]
|
D | socket_permission_unittest.cc | 266 const APIPermissionInfo* permission_info = in TEST() local 273 permission_info->CreateAPIPermission()); in TEST() 275 permission_info->CreateAPIPermission()); in TEST() 288 permission_info->CreateAPIPermission()); in TEST() 290 permission_info->CreateAPIPermission()); in TEST() 308 const APIPermissionInfo* permission_info = in TEST() local 311 scoped_ptr<APIPermission> permission1(permission_info->CreateAPIPermission()); in TEST() 312 scoped_ptr<APIPermission> permission2(permission_info->CreateAPIPermission()); in TEST()
|
D | permissions_info.cc | 57 const APIPermissionInfo* permission_info = GetByName(*i); in GetAllByName() local 58 if (permission_info) in GetAllByName() 59 permissions.insert(permission_info->id()); in GetAllByName()
|
/external/chromium_org/chrome/common/extensions/permissions/ |
D | media_galleries_permission_unittest.cc | 31 const APIPermissionInfo* permission_info = in TEST() local 35 permission_info->CreateAPIPermission()); in TEST() 88 const APIPermissionInfo* permission_info = in TEST() local 91 scoped_ptr<APIPermission> permission(permission_info->CreateAPIPermission()); in TEST() 137 const APIPermissionInfo* permission_info = in TEST() local 140 scoped_ptr<APIPermission> permission(permission_info->CreateAPIPermission()); in TEST() 171 const APIPermissionInfo* permission_info = in TEST() local 175 permission_info->CreateAPIPermission()); in TEST() 177 permission_info->CreateAPIPermission()); in TEST() 223 const APIPermissionInfo* permission_info = in TEST() local [all …]
|
D | permission_set_unittest.cc | 256 const APIPermissionInfo* permission_info = in TEST() local 258 permission = permission_info->CreateAPIPermission(); in TEST() 303 permission = permission_info->CreateAPIPermission(); in TEST() 317 permission = permission_info->CreateAPIPermission(); in TEST() 378 const APIPermissionInfo* permission_info = in TEST() local 384 permission = permission_info->CreateAPIPermission(); in TEST() 421 permission = permission_info->CreateAPIPermission(); in TEST() 432 permission = permission_info->CreateAPIPermission(); in TEST() 490 const APIPermissionInfo* permission_info = in TEST() local 496 permission = permission_info->CreateAPIPermission(); in TEST() [all …]
|
/external/chromium_org/chrome/browser/ui/website_settings/ |
D | website_settings.cc | 632 WebsiteSettingsUI::PermissionInfo permission_info; in PresentSitePermissions() local 634 permission_info.type = kPermissionType[i]; in PresentSitePermissions() 635 if (permission_info.type == CONTENT_SETTINGS_TYPE_MIDI_SYSEX) { in PresentSitePermissions() 642 if (permission_info.type == CONTENT_SETTINGS_TYPE_MEDIASTREAM) { in PresentSitePermissions() 664 permission_info.setting = CONTENT_SETTING_DEFAULT; in PresentSitePermissions() 666 permission_info.setting = mic_setting; in PresentSitePermissions() 670 site_url_, site_url_, permission_info.type, std::string(), &info); in PresentSitePermissions() 673 permission_info.setting = in PresentSitePermissions() 680 permission_info.source = info.source; in PresentSitePermissions() 684 permission_info.type != CONTENT_SETTINGS_TYPE_MEDIASTREAM) { in PresentSitePermissions() [all …]
|
/external/chromium_org/extensions/browser/ |
D | suggest_permission_util.cc | 32 const APIPermissionInfo* permission_info = in SuggestAPIPermissionInDevToolsConsole() local 34 CHECK(permission_info); in SuggestAPIPermissionInDevToolsConsole() 40 permission_info->name(), in SuggestAPIPermissionInDevToolsConsole()
|
/external/chromium_org/chrome/browser/extensions/api/permissions/ |
D | permissions_api_helpers.cc | 117 const APIPermissionInfo* permission_info = info->GetByName(*it); in UnpackPermissionSet() local 118 if (!permission_info) { in UnpackPermissionSet() 123 apis.insert(permission_info->id()); in UnpackPermissionSet()
|
/external/chromium_org/extensions/common/ |
D | extension_messages.cc | 186 const APIPermissionInfo* permission_info = in Read() local 188 if (!permission_info) in Read() 190 scoped_ptr<APIPermission> p(permission_info->CreateAPIPermission()); in Read()
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | website_settings_handler.cc | 621 base::DictionaryValue* permission_info = new base::DictionaryValue; in GetInfoForOrigin() local 622 permission_info->SetStringWithoutPathExpansion( in GetInfoForOrigin() 624 permission_info->SetWithoutPathExpansion("options", options); in GetInfoForOrigin() 625 permission_info->SetBooleanWithoutPathExpansion( in GetInfoForOrigin() 628 content_settings::GetTypeName(permission_type), permission_info); in GetInfoForOrigin()
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_prefs_unittest.cc | 159 const APIPermissionInfo* permission_info = in Initialize() local 167 permission_info->CreateAPIPermission()); in Initialize()
|