Save in profile store when the unsynced credentials UI button is clicked
This CL introduces the functionality for the save button in the new PasswordSaveUnsyncedCredentialsLocallyView. The saving logic lives in ManagePasswordsUIController, as is done for the save bubble. The bubble controller now also retrieves the credentials from the UI controller when needed, instead of copying them. In this way, the credentials live in a single place (ManagePasswordsState) and can be easily cleared. Bug: 1060132 Change-Id: Id59f4fd3a4d642aade389d207e3290b049c8d867 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2139653 Commit-Queue: Victor Vianna <victorvianna@google.com> Reviewed-by:Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#771817}
Showing
Please register or sign in to comment