Add b4p badges to the credential manager account chooser UI
CredentialsItemView now supports setting an optional right-aligned G-logo icon to disguish account store forms from profile store ones. The icon is set in the AccountChooserDialogView for credentials read from the account store. If the user has not opted in to b4p, no forms will satisfy this, so there's no need explicitly check the opted-in state of the user to guarantee that no badges will be shown for non opted-in users. Account chooser with badges: https://screenshot.googleplex.com/JMiryuMoec8 Bug: 1060134 Change-Id: Id0a27324ad7955dae366a3e6efa8102c1145633f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2116211 Commit-Queue: Victor Vianna <victorvianna@google.com> Reviewed-by:Vasilii Sukhanov <vasilii@chromium.org> Reviewed-by:
Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#758817}
Showing
Please register or sign in to comment