DescriptionCall PasswordFormManager::FetchDataFromPasswordStore in constructor
Every time PasswordFormManager is constructed in production code,
FetchDataFromPasswordStore is called on it immediately after construction.
It makes sense to automate calling FetchDataFromPasswordStore.
Doing so will also help keep the change of fetching credentials in
FormFetcher instead of in PasswordStore smaller. (See the overall plan
in https://docs.google.com/document/d/12CH_SV1gIJKaEIGTs7gWBiXrCMlBa3o32OyC2LRtPAo/edit#bookmark=id.cbgso0v3oogv
This CL:
* Adds a call to FetchDataFromPasswordStore at the end of PasswordFormManager
constructor.
* Removes the after-construction calls to FetchDataFromPasswordStore.
* Adjusts tests.
BUG=621355
R=vasilii@chromium.org
Committed: https://crrev.com/68d599d1defb2c1369cbcaa398b7164a40a41f02
Cr-Commit-Position: refs/heads/master@{#412773}
Patch Set 1 #Patch Set 2 : Fix iOS and Android #Patch Set 3 : Fix compilation #Patch Set 4 : Just rebased #Patch Set 5 : Fixed interactive_ui_tests #Dependent Patchsets: Messages
Total messages: 24 (19 generated)
|