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

Issue 2165513003: Remove old_login_managers from PasswordManager::CreatePendingLoginManagers (Closed)

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

Description

Remove old_login_managers from PasswordManager::CreatePendingLoginManagers This is what CreatePendingLoginManagers currently does when trying to ensure that a new batch of forms gets associated PasswordFormManagers: (1) It freezes a list of existing PasswordFormManager instances. (2) For every input form, if it is not already managed by a PFM from the frozen list, it creates a new one. This CL removes the "freezing" part. Now all PFMs created until the point a particular form is examined are considered. So if there was one PFM, A, before, and two forms come in: X and Y, PasswordManager may proceed as follows: (a) Realise that X is not managed by A, hence creating a PFM B. (b) Realise that Y is not managed by A, but that it is managed by B, so no action is needed. Before the CL, the code would have created another PFM C, equivalent to B, because it would not check whether Y is managed by B. (This is a random fix spotted when converting from ScopedVector, hence the associated bug is about removing ScopedVector.) BUG=555132 Committed: https://crrev.com/a95ac2ad614b60f0cc3c35c3725410dbbe0a68a6 Cr-Commit-Position: refs/heads/master@{#406252}

Patch Set 1 #

Patch Set 2 : Remove outdated comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -5 lines) Patch
M components/password_manager/core/browser/password_manager.cc View 1 2 chunks +1 line, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (9 generated)
vabr (Chromium)
Hi Vasilii, Does this look sensible to you? Cheers, Vaclav
4 years, 5 months ago (2016-07-19 10:31:09 UTC) #6
vasilii
lgtm
4 years, 5 months ago (2016-07-19 12:27:48 UTC) #9
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/2165513003/20001
4 years, 5 months ago (2016-07-19 12:28:18 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-19 12:32:18 UTC) #12
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 12:33:59 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a95ac2ad614b60f0cc3c35c3725410dbbe0a68a6
Cr-Commit-Position: refs/heads/master@{#406252}

Powered by Google App Engine
This is Rietveld 408576698