DescriptionImplement PasswordFormManager::WipeStoreCopyIfOutdated in FormSaver
PasswordFormManager ensures that outdated sync credentials are deleted, to help eliminate the situation when the sync credential is stored in the password store it protects.
This CL moves the logic determining which forms to drop and the Remove call to PasswordStore from PasswordFormManager to FormSaver, the delegate supposed to be handling store operations for PFM. This leaves only reading calls to PasswordStore in PasswordFormManager. The CL also adds and removes tests and modifies test support as appropriate.
This addresses a TODO from https://codereview.chromium.org/2090583003/. It concludes the first transition step from the design https://docs.google.com/document/d/12CH_SV1gIJKaEIGTs7gWBiXrCMlBa3o32OyC2LRtPAo/edit?usp=sharing .
BUG=621355
Committed: https://crrev.com/8afac70d8152dafd3a4e539a095c12324e34d63d
Cr-Commit-Position: refs/heads/master@{#402745}
Patch Set 1 #Patch Set 2 : First attempt #Patch Set 3 : Remove outdated tests #Patch Set 4 : Fix more tests #Patch Set 5 : Fix yet more tests #Patch Set 6 : Self-review #
Total comments: 18
Patch Set 7 : Review comments #Patch Set 8 : Fix compilation #
Total comments: 2
Patch Set 9 : More review comments #Patch Set 10 : Fixed upload #
Total comments: 2
Patch Set 11 : Remove #includes #Patch Set 12 : Just rebased #Dependent Patchsets: Messages
Total messages: 23 (9 generated)
|