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

Issue 2728353002: [Password Generation] Process CONFIRMATION_PASSWORD votes on the client side (Closed)

Created:
3 years, 9 months ago by kolos1
Modified:
3 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, vabr+watchlistpasswordmanager_chromium.org, Aaron Boodman, rouslan+autofill_chromium.org, rogerm+autofillwatch_chromium.org, sebsg+autofillwatch_chromium.org, viettrungluu+watch_chromium.org, browser-components-watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, mathp+autofillwatch_chromium.org, darin-cc_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, darin (slow to review), qsr+mojo_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Password Generation] Process CONFIRMATION_PASSWORD votes on the client side If the server sends a confirmation vote for the form, find the field and copy the generated password into it. BUG=582434 Review-Url: https://codereview.chromium.org/2728353002 Cr-Commit-Position: refs/heads/master@{#455418} Committed: https://chromium.googlesource.com/chromium/src/+/b1ea89c288be74e2d95e37809b8a910427568a53

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added has_confirmation_field flag #

Patch Set 3 : Updated PasswordGenerationManagerTest #

Patch Set 4 #

Total comments: 4

Patch Set 5 : Replaced bool/FieldSignature with base::Optional #

Patch Set 6 : Removed PasswordFormGenerationData constructor that is used only in tests #

Total comments: 8

Patch Set 7 : Changed usage of base::Optional #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -29 lines) Patch
M chrome/renderer/autofill/password_generation_agent_browsertest.cc View 1 2 3 4 5 6 2 chunks +44 lines, -0 lines 0 comments Download
M components/autofill/content/common/autofill_types.mojom View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/content/common/autofill_types_struct_traits.h View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M components/autofill/content/common/autofill_types_struct_traits.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M components/autofill/content/common/autofill_types_struct_traits_unittest.cc View 1 2 3 4 5 6 2 chunks +8 lines, -1 line 0 comments Download
M components/autofill/content/renderer/password_generation_agent.cc View 1 2 3 4 5 6 3 chunks +31 lines, -20 lines 0 comments Download
M components/autofill/core/common/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/common/password_form_generation_data.h View 1 2 3 4 5 3 chunks +11 lines, -0 lines 0 comments Download
A components/autofill/core/common/password_form_generation_data.cc View 1 2 3 4 5 6 1 chunk +21 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_generation_manager.cc View 1 2 3 4 5 6 3 chunks +22 lines, -6 lines 0 comments Download
M components/password_manager/core/browser/password_generation_manager_unittest.cc View 1 2 3 4 5 chunks +15 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (19 generated)
kolos1
Hi Vadym, Please review this CL. Regards, Maxim
3 years, 9 months ago (2017-03-06 12:58:14 UTC) #3
dvadym
Thanks, it looks good. I have only one comment. https://codereview.chromium.org/2728353002/diff/20001/components/password_manager/core/browser/password_generation_manager.cc File components/password_manager/core/browser/password_generation_manager.cc (right): https://codereview.chromium.org/2728353002/diff/20001/components/password_manager/core/browser/password_generation_manager.cc#newcode52 components/password_manager/core/browser/password_generation_manager.cc:52: ...
3 years, 9 months ago (2017-03-06 13:34:14 UTC) #4
kolos1
https://codereview.chromium.org/2728353002/diff/20001/components/password_manager/core/browser/password_generation_manager.cc File components/password_manager/core/browser/password_generation_manager.cc (right): https://codereview.chromium.org/2728353002/diff/20001/components/password_manager/core/browser/password_generation_manager.cc#newcode52 components/password_manager/core/browser/password_generation_manager.cc:52: : 0}); On 2017/03/06 13:34:14, dvadym wrote: > In ...
3 years, 9 months ago (2017-03-06 14:42:52 UTC) #7
kolos1
vabr@: Please review changes in password_generation_agent_browsertest.cc dcheng@: Please review changes in autofill_types*
3 years, 9 months ago (2017-03-06 16:41:17 UTC) #9
vabr (Chromium)
On 2017/03/06 16:41:17, kolos1 wrote: > vabr@: Please review changes in password_generation_agent_browsertest.cc The test LGTM, ...
3 years, 9 months ago (2017-03-06 17:08:42 UTC) #10
dcheng
https://codereview.chromium.org/2728353002/diff/120001/components/autofill/content/common/autofill_types.mojom File components/autofill/content/common/autofill_types.mojom (right): https://codereview.chromium.org/2728353002/diff/120001/components/autofill/content/common/autofill_types.mojom#newcode150 components/autofill/content/common/autofill_types.mojom:150: uint32 confirmation_field_signature; I was going to say it's more ...
3 years, 9 months ago (2017-03-06 22:29:19 UTC) #15
kolos1
https://codereview.chromium.org/2728353002/diff/120001/components/autofill/content/common/autofill_types.mojom File components/autofill/content/common/autofill_types.mojom (right): https://codereview.chromium.org/2728353002/diff/120001/components/autofill/content/common/autofill_types.mojom#newcode150 components/autofill/content/common/autofill_types.mojom:150: uint32 confirmation_field_signature; On 2017/03/06 22:29:19, dcheng wrote: > I ...
3 years, 9 months ago (2017-03-07 13:53:17 UTC) #17
dcheng
LGTM with nits https://codereview.chromium.org/2728353002/diff/180001/components/autofill/content/common/autofill_types_struct_traits.cc File components/autofill/content/common/autofill_types_struct_traits.cc (right): https://codereview.chromium.org/2728353002/diff/180001/components/autofill/content/common/autofill_types_struct_traits.cc#newcode477 components/autofill/content/common/autofill_types_struct_traits.cc:477: out->confirmation_field_signature = I would just write ...
3 years, 9 months ago (2017-03-07 21:42:26 UTC) #18
kolos1
Thanks a lot for your comments, Daniel! Please review. Regards, Maxim https://codereview.chromium.org/2728353002/diff/180001/components/autofill/content/common/autofill_types_struct_traits.cc File components/autofill/content/common/autofill_types_struct_traits.cc (right): ...
3 years, 9 months ago (2017-03-08 07:43:50 UTC) #20
dcheng
still lgtm FWIW, lgtm with nits means it's OK to submit without further reviews once ...
3 years, 9 months ago (2017-03-08 07:50:41 UTC) #21
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/2728353002/220001
3 years, 9 months ago (2017-03-08 09:38:40 UTC) #28
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 09:43:22 UTC) #31
Message was sent while issue was closed.
Committed patchset #7 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/b1ea89c288be74e2d95e37809b8a...

Powered by Google App Engine
This is Rietveld 408576698