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

Issue 1817483002: [Password Manager] Presave the form with generated password till successful login (Closed)

Created:
4 years, 9 months ago by kolos1
Modified:
4 years, 8 months ago
CC:
bondd+autofillwatch_chromium.org, browser-components-watch_chromium.org, chromium-reviews, darin-cc_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, jam, jdonnelly+autofillwatch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mkwst+watchlist-passwords_chromium.org, mlamouri+watch-content_chromium.org, rouslan+autofill_chromium.org, vabr+watchlistpasswordmanager_chromium.org, vabr+watchlistautofill_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Password Manager] Presave the form with generated password till the user makes successful login or removes the generated password. To be sure we save the generated password even if we missed form submission, presave the password right after the user accepted it. Also update the password after every user input and delete it, if the user clears the password field. The form is presaved with empty username. BUG=582434 Committed: https://crrev.com/578305d33ed2580610f3cdbb8ca529dfc3faf195 Cr-Commit-Position: refs/heads/master@{#386289}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Implemented PresaveGeneratedPassword message #

Patch Set 5 : Add, update and remove generated password in the store #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : Test version 01.04 (50 top Alexa sites) #

Patch Set 9 : ReplacePresavedPwd instead of add&remove #

Patch Set 10 : #

Patch Set 11 : Removed debug-output #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : Added PasswordGenerationAgentTest.PresavingGeneratedPassword #

Patch Set 15 : Added PasswordManagerTest.PasswordGenerationPresavePassword #

Patch Set 16 : #

Patch Set 17 : #

Total comments: 14

Patch Set 18 : Changes addressed to reviewer's comments #

Total comments: 2

Patch Set 19 : Added Mock::VerifyAndClearExpectations in a unittest #

Patch Set 20 : Removed CPMD_BAD_ORIGIN_UPDATE_PRESAVED_PASSWORD in bad_message.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -6 lines) Patch
M chrome/renderer/autofill/password_generation_agent_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +39 lines, -0 lines 0 comments Download
M components/autofill/content/common/autofill_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +6 lines, -1 line 0 comments Download
M components/autofill/content/renderer/password_generation_agent.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +6 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_generation_agent.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +40 lines, -3 lines 0 comments Download
M components/password_manager/content/browser/bad_message.h View 1 2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +11 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +13 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +43 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +4 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +12 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +68 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 37 (15 generated)
kolos1
mkwst@: Please review autofill_messages.h dvadym@: Please review this CL. vabr@: Vadym will have a look ...
4 years, 8 months ago (2016-04-05 15:18:20 UTC) #3
vabr (Chromium)
chrome/renderer/autofill/password_generation_agent_browsertest.cc LGTM. Thanks! Vaclav
4 years, 8 months ago (2016-04-06 01:19:07 UTC) #5
Mike West
The IPC changes look reasonable. I'll take another look once Vadym has gone through the ...
4 years, 8 months ago (2016-04-06 07:24:09 UTC) #6
dvadym
CL in general looks good. I have some comments (mostly nits) and 2 concerns: 1.Does ...
4 years, 8 months ago (2016-04-06 12:44:23 UTC) #7
kolos1
https://codereview.chromium.org/1817483002/diff/320001/components/autofill/content/common/autofill_messages.h File components/autofill/content/common/autofill_messages.h (right): https://codereview.chromium.org/1817483002/diff/320001/components/autofill/content/common/autofill_messages.h#newcode345 components/autofill/content/common/autofill_messages.h:345: IPC_MESSAGE_ROUTED1(AutofillHostMsg_PresaveGeneratedPassword, On 2016/04/06 12:44:23, dvadym wrote: > Why do ...
4 years, 8 months ago (2016-04-07 13:05:18 UTC) #8
kolos1
On 2016/04/06 12:44:23, dvadym wrote: > CL in general looks good. I have some comments ...
4 years, 8 months ago (2016-04-07 13:29:44 UTC) #9
dvadym
On 2016/04/07 13:29:44, kolos1 wrote: > On 2016/04/06 12:44:23, dvadym wrote: > > CL in ...
4 years, 8 months ago (2016-04-07 15:04:20 UTC) #11
kolos1
On 2016/04/07 15:04:20, dvadym wrote: > On 2016/04/07 13:29:44, kolos1 wrote: > > On 2016/04/06 ...
4 years, 8 months ago (2016-04-07 15:09:44 UTC) #13
dvadym
Thanks! LGTM % small nit https://codereview.chromium.org/1817483002/diff/360001/components/password_manager/core/browser/password_manager_unittest.cc File components/password_manager/core/browser/password_manager_unittest.cc (right): https://codereview.chromium.org/1817483002/diff/360001/components/password_manager/core/browser/password_manager_unittest.cc#newcode1328 components/password_manager/core/browser/password_manager_unittest.cc:1328: It makes sense here ...
4 years, 8 months ago (2016-04-07 19:20:42 UTC) #14
Mike West
IPC LGTM.
4 years, 8 months ago (2016-04-08 08:11:03 UTC) #15
Mike West
IPC LGTM.
4 years, 8 months ago (2016-04-08 08:11:03 UTC) #16
kolos1
https://codereview.chromium.org/1817483002/diff/360001/components/password_manager/core/browser/password_manager_unittest.cc File components/password_manager/core/browser/password_manager_unittest.cc (right): https://codereview.chromium.org/1817483002/diff/360001/components/password_manager/core/browser/password_manager_unittest.cc#newcode1328 components/password_manager/core/browser/password_manager_unittest.cc:1328: On 2016/04/07 19:20:42, dvadym wrote: > It makes sense ...
4 years, 8 months ago (2016-04-08 08:21:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817483002/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817483002/380001
4 years, 8 months ago (2016-04-08 08:52:32 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/166277)
4 years, 8 months ago (2016-04-08 09:01:55 UTC) #22
kolos1
isherman@: Please review tools/metrics/histograms/histograms.xml. Regards, Maxim
4 years, 8 months ago (2016-04-08 09:25:19 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817483002/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817483002/400001
4 years, 8 months ago (2016-04-08 10:52:16 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/193749)
4 years, 8 months ago (2016-04-08 11:59:04 UTC) #28
kolos1
isherman@: friendly ping. Please review this tiny change in histograms.xml. Best regards, Maxim
4 years, 8 months ago (2016-04-08 20:53:22 UTC) #29
Ilya Sherman
histograms.xml lgtm
4 years, 8 months ago (2016-04-09 06:18:38 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817483002/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817483002/400001
4 years, 8 months ago (2016-04-09 06:18:54 UTC) #33
commit-bot: I haz the power
Committed patchset #20 (id:400001)
4 years, 8 months ago (2016-04-09 06:45:50 UTC) #35
commit-bot: I haz the power
4 years, 8 months ago (2016-04-09 06:47:02 UTC) #37
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/578305d33ed2580610f3cdbb8ca529dfc3faf195
Cr-Commit-Position: refs/heads/master@{#386289}

Powered by Google App Engine
This is Rietveld 408576698