[Android] Handle GetCurrentForms returning empty vector in update infobar
ManagePasswordsState::GetCurrentForms() can return an empty vector. When this happens, the infobar should display the username from the pending credential since that is the only credential eligible for password update. This change also extracts the logic which determines the usernames to display from the infobar and moves it to the delegate. Bug:1045941 Change-Id: Idcc8a7149fa931b90d541dc0159e78151183f561 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2027472Reviewed-by:Matthew Jones <mdjones@chromium.org> Reviewed-by:
Vasilii Sukhanov <vasilii@chromium.org> Commit-Queue: Ioana Pandele <ioanap@chromium.org> Cr-Commit-Position: refs/heads/master@{#738112}
Showing
Please register or sign in to comment