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

Issue 795183002: PasswordFormManager supports multiple drivers (Closed)

Created:
6 years ago by vabr (Chromium)
Modified:
6 years ago
Reviewers:
Garrett Casto
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org, Evan Stade
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PasswordFormManager supports multiple drivers PFM serves potentially multiple frames by providing (auto)fill information for each. That happens through drivers, which are recently one per frame. The PFM only supports one driver so far. This CL makes it handle a queue of drivers until it retrieves the credentials from the store, and then serve each of the associated frames through the drivers. BUG=440438 Committed: https://crrev.com/283c1f3ea40e007a8b92d314e97b1bffc1910c67 Cr-Commit-Position: refs/heads/master@{#308065}

Patch Set 1 #

Patch Set 2 : Cosmetic changes #

Total comments: 1

Patch Set 3 : Fixed failing tests #

Total comments: 5

Patch Set 4 : Added comment about non-blacklisted forms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -51 lines) Patch
M components/password_manager/core/browser/password_form_manager.h View 1 2 3 chunks +17 lines, -18 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 2 3 6 chunks +22 lines, -28 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/password_manager_unittest.cc View 3 chunks +28 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
vabr (Chromium)
Evan, this is just FYI. Garrett, PTAL! Thanks! Vaclav https://codereview.chromium.org/795183002/diff/20001/components/password_manager/core/browser/password_manager_unittest.cc File components/password_manager/core/browser/password_manager_unittest.cc (right): https://codereview.chromium.org/795183002/diff/20001/components/password_manager/core/browser/password_manager_unittest.cc#newcode569 components/password_manager/core/browser/password_manager_unittest.cc:569: ...
6 years ago (2014-12-11 18:33:42 UTC) #2
vabr (Chromium)
https://codereview.chromium.org/795183002/diff/40001/components/password_manager/core/browser/password_form_manager.cc File components/password_manager/core/browser/password_form_manager.cc (right): https://codereview.chromium.org/795183002/diff/40001/components/password_manager/core/browser/password_form_manager.cc#newcode553 components/password_manager/core/browser/password_form_manager.cc:553: ProcessFrame(driver); I could actually check driver here, instead of ...
6 years ago (2014-12-11 20:12:52 UTC) #3
Garrett Casto
lgtm https://codereview.chromium.org/795183002/diff/40001/components/password_manager/core/browser/password_form_manager.cc File components/password_manager/core/browser/password_form_manager.cc (right): https://codereview.chromium.org/795183002/diff/40001/components/password_manager/core/browser/password_form_manager.cc#newcode515 components/password_manager/core/browser/password_form_manager.cc:515: driver->AllowPasswordGenerationForForm(observed_form_); Nit: Might want to leave one line ...
6 years ago (2014-12-12 08:19:10 UTC) #4
vabr (Chromium)
Thanks, Garrett! I addressed your comment, and will send this to the CQ now. Cheers, ...
6 years ago (2014-12-12 08:52:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/795183002/60001
6 years ago (2014-12-12 08:54:04 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years ago (2014-12-12 09:54:26 UTC) #8
commit-bot: I haz the power
6 years ago (2014-12-12 09:55:05 UTC) #9
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/283c1f3ea40e007a8b92d314e97b1bffc1910c67
Cr-Commit-Position: refs/heads/master@{#308065}

Powered by Google App Engine
This is Rietveld 408576698