Searched refs:has_permission (Results 1 – 6 of 6) sorted by relevance
26 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()
42 bool has_permission; member218 bool has_permission);
241 &out_permission->has_permission)) { in GetMediaGalleryPermissionFromDictionary()908 if (!it->has_permission) { in GalleriesForExtension()927 bool has_permission) { in SetGalleryPermissionForExtension() argument940 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()
174 bool has_permission = in ScrubTabValueForExtension() local179 if (!has_permission) { in ScrubTabValueForExtension()188 bool has_permission = extension && extension->HasAPIPermission( in ScrubTabForExtension() local191 if (!has_permission) { in ScrubTabForExtension()
348 bool has_permission = false; in OpenChannelToNativeApp() local352 has_permission = extension && extension->HasAPIPermission( in OpenChannelToNativeApp()356 if (!has_permission) { in OpenChannelToNativeApp()
338 bool has_permission = IsExtensionWithPermissionOrSuggestInConsole( in RequestToLockMouse() local343 web_contents->GotResponseToLockMouseRequest(has_permission); in RequestToLockMouse()