MultiStorePasswordSaveManager: Track action for each store
This CL adds profile_store_action_ and account_store_action_ to MultiStorePasswordSaveManager (in addition to pending_credentials_state_ from the base class). Explicitly tracking the two states, instead of just a single "canonical" one, allows us to be more explicit in how conflicts are resolved, and in particular it allows us to handle some edge cases that we couldn't handle correctly before. It also adds an integration test for one such edge case. Bug: 1012203, 1060524 Change-Id: I9602c3641da761a76b2dc9a1f62b630ef2fbcb2e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2139654 Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org> Auto-Submit: Marc Treib <treib@chromium.org> Reviewed-by:Mohamed Amir Yosef <mamir@chromium.org> Cr-Commit-Position: refs/heads/master@{#758777}
Showing
This diff is collapsed.
Please register or sign in to comment