Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(586)

Issue 2256703002: Call PasswordFormManager::FetchDataFromPasswordStore in constructor (Closed)

Created:
4 years, 4 months ago by vabr (Chromium)
Modified:
4 years, 4 months ago
Reviewers:
vasilii
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@621355_FormDigest_prettyprint
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Call 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 #

Messages

Total messages: 24 (19 generated)
vabr (Chromium)
Hi Vasilii, PTAL. Thanks! Vaclav
4 years, 4 months ago (2016-08-18 08:27:45 UTC) #15
vasilii
lgtm
4 years, 4 months ago (2016-08-18 08:56:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2256703002/80001
4 years, 4 months ago (2016-08-18 08:58:11 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-18 09:19:19 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 09:22:06 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/68d599d1defb2c1369cbcaa398b7164a40a41f02
Cr-Commit-Position: refs/heads/master@{#412773}

Powered by Google App Engine
This is Rietveld 408576698