KeyPermissionsService: Allow usage by non-regular user profiles
A KeyPermissionsService instance needs a KeyPermissionsManager instance responsible for the private token for the user profile to be able to do user token operations using this instance. But there is no private token corresponding to non-regular user profiles (e.g. sign in profile, lockscreen profile), which means that there will be no corresponding KeyPermissionsManager instance provided for the non-regular user profiles from the UserPrivateTokenKpm factory. This CL allows KeyPermissionsService to be used without a KeyPermissionsManager instance in case of non-regular user profiles. Bug: 1148290 Change-Id: I8dfd29732adcee4ebfc3f208b9dbf73713b274b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2534852 Commit-Queue: Omar Morsi <omorsi@google.com> Reviewed-by:Pavol Marko <pmarko@chromium.org> Reviewed-by:
Alexander Hendrich <hendrich@chromium.org> Cr-Commit-Position: refs/heads/master@{#826809}
Showing
Please register or sign in to comment