Home
last modified time | relevance | path

Searched refs:has_permission (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/media_galleries/
Dmedia_galleries_permissions_unittest.cc26 permission.has_permission = has_access; in AddGalleryPermission()
88 extension1_expectation_[1].has_permission = false; in Initialize()
133 EXPECT_EQ(test_data[i].expectation->at(permission_entry).has_permission, in Verify()
134 actual[permission_entry].has_permission); in Verify()
Dmedia_galleries_preferences.h42 bool has_permission; member
218 bool has_permission);
Dmedia_galleries_preferences.cc241 &out_permission->has_permission)) { in GetMediaGalleryPermissionFromDictionary()
908 if (!it->has_permission) { in GalleriesForExtension()
927 bool has_permission) { in SetGalleryPermissionForExtension() argument
940 if (has_permission == default_permission) { in SetGalleryPermissionForExtension()
945 if (!SetGalleryPermissionInPrefs(extension.id(), pref_id, has_permission)) in SetGalleryPermissionForExtension()
948 if (has_permission) in SetGalleryPermissionForExtension()
1010 if (has_access != perm.has_permission) { in SetGalleryPermissionInPrefs()
/external/chromium_org/chrome/browser/extensions/
Dextension_tab_util.cc174 bool has_permission = in ScrubTabValueForExtension() local
179 if (!has_permission) { in ScrubTabValueForExtension()
188 bool has_permission = extension && extension->HasAPIPermission( in ScrubTabForExtension() local
191 if (!has_permission) { in ScrubTabForExtension()
/external/chromium_org/chrome/browser/extensions/api/messaging/
Dmessage_service.cc348 bool has_permission = false; in OpenChannelToNativeApp() local
352 has_permission = extension && extension->HasAPIPermission( in OpenChannelToNativeApp()
356 if (!has_permission) { in OpenChannelToNativeApp()
/external/chromium_org/apps/
Dshell_window.cc338 bool has_permission = IsExtensionWithPermissionOrSuggestInConsole( in RequestToLockMouse() local
343 web_contents->GotResponseToLockMouseRequest(has_permission); in RequestToLockMouse()