Home
last modified time | relevance | path

Searched refs:permission_info (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/extensions/common/permissions/
Dapi_permission_set.cc29 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()
Dapi_permission_set_unittest.cc43 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 …]
Dsocket_permission_unittest.cc266 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()
Dpermissions_info.cc57 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/
Dmedia_galleries_permission_unittest.cc31 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 …]
Dpermission_set_unittest.cc256 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/
Dwebsite_settings.cc632 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/
Dsuggest_permission_util.cc32 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/
Dpermissions_api_helpers.cc117 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/
Dextension_messages.cc186 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/
Dwebsite_settings_handler.cc621 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/
Dextension_prefs_unittest.cc159 const APIPermissionInfo* permission_info = in Initialize() local
167 permission_info->CreateAPIPermission()); in Initialize()