DescriptionAdd FormFetcher::RemoveConsumer
This allows to detach a consumer from a FormFetcher, the opposite of
AddConsumer. It will be needed for two use-cases which will come in future CLs:
(1) When multiple PasswordFormManagers (PFM) will share one FormFetcher, which
will thus need to outlive the PFMs. Keeping dangling Consumers
would result in use after free.
(2) When implementing PasswordFormManager::GrabFetcher the PFM will need to
stop listening to the old FormFetcher.
More details in https://docs.google.com/document/d/12CH_SV1gIJKaEIGTs7gWBiXrCMlBa3o32OyC2LRtPAo/edit#heading=h.jz2q52kebs7k
BUG=621355
Review-Url: https://codereview.chromium.org/2760653002
Cr-Commit-Position: refs/heads/master@{#458166}
Committed: https://chromium.googlesource.com/chromium/src/+/5ed0e12d08834914062752a7508658e121de214f
Patch Set 1 #Patch Set 2 : Rebased #Depends on Patchset: Dependent Patchsets: Messages
Total messages: 22 (17 generated)
|