DescriptionIntroduce password_manager::FormSaver
The goal: outsource modifying calls to PasswordStore made in PasswordFormManager to a separate class.
This CL achieves that by:
* Creating a FormSaver interface to provide the store-modifications needed by PFM. PFM is changed to require a FormSaver object on creation.
* Separating the store-modifying code from PFM into FormSaverImpl, implementing FormSaver.
* Adding tests for FormSaverImpl, reducing PFM tests accordingly, providing test support for stubbing FormSaver and using it in existing tests.
TODO for a future CL:
* Moving WipeStoreCopyIfOutdated to FormSaver.
For more details see the design doc at
https://docs.google.com/document/d/12CH_SV1gIJKaEIGTs7gWBiXrCMlBa3o32OyC2LRtPAo/edit?usp=sharing
BUG=621355
R=dvadym@chromium.org
Committed: https://crrev.com/0637ae71c31807c3882293be5f23453dd2e80342
Cr-Commit-Position: refs/heads/master@{#401647}
Patch Set 1 #
Total comments: 8
Patch Set 2 : Review comments #Dependent Patchsets: Messages
Total messages: 9 (2 generated)
|