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

Issue 2796873002: Sending autofill types for username fields in sign-in forms for improving username detection. (Closed)

Created:
3 years, 8 months ago by dvadym
Modified:
3 years, 7 months ago
CC:
chromium-reviews, vabr+watchlistpasswordmanager_chromium.org, rouslan+autofill_chromium.org, rogerm+autofillwatch_chromium.org, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Sending autofill types for username fields in sign-in forms for improving username detection. Using Autofill types of username from sign-in forms we can improve username detections, details are in go/chrome-password-manager-username-detection-with-server-side. BUG=699530 Review-Url: https://codereview.chromium.org/2796873002 Cr-Commit-Position: refs/heads/master@{#463207} Committed: https://chromium.googlesource.com/chromium/src/+/3696a2abf42720bdb9a5c9a9378b9f8efdfef9b4

Patch Set 1 #

Patch Set 2 : update comments #

Total comments: 6

Patch Set 3 : Addressed comments #

Patch Set 4 : added test #

Patch Set 5 : Debug info removed #

Patch Set 6 : Added autofill test #

Patch Set 7 : Tiny change #

Total comments: 8

Patch Set 8 : rebase #

Patch Set 9 : Addressed comments #

Patch Set 10 : Fix compilation error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -6 lines) Patch
M components/autofill/core/browser/autofill_manager.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 2 3 4 5 6 7 1 chunk +44 lines, -0 lines 0 comments Download
M components/autofill/core/browser/form_structure.h View 2 chunks +9 lines, -0 lines 0 comments Download
M components/autofill/core/browser/form_structure.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M components/autofill/core/browser/form_structure_unittest.cc View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.h View 1 2 chunks +4 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 3 chunks +27 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +82 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (16 generated)
dvadym
Hi Roger, could you please make a review of this CL? This CL implements of ...
3 years, 8 months ago (2017-04-04 12:39:25 UTC) #3
dvadym
On 2017/04/04 12:39:25, dvadym wrote: > Hi Roger, > > could you please make a ...
3 years, 8 months ago (2017-04-04 12:41:02 UTC) #4
Roger McFarlane (Chromium)
https://codereview.chromium.org/2796873002/diff/20001/components/autofill/core/browser/autofill_manager.cc File components/autofill/core/browser/autofill_manager.cc (right): https://codereview.chromium.org/2796873002/diff/20001/components/autofill/core/browser/autofill_manager.cc#newcode2012 components/autofill/core/browser/autofill_manager.cc:2012: // could already set types for some fields. The ...
3 years, 8 months ago (2017-04-04 19:09:43 UTC) #5
dvadym
Thanks for comments Roger! I've already added a test in password_form_manager_unittest. But it doesn't cover ...
3 years, 8 months ago (2017-04-05 13:28:28 UTC) #6
dvadym
I've added tests for cover all flow. Roger, PTAL
3 years, 8 months ago (2017-04-06 12:49:06 UTC) #7
Roger McFarlane (Chromium)
Anything we can do to generalize the form matcher a bit more. Does this work ...
3 years, 8 months ago (2017-04-07 03:20:59 UTC) #8
dvadym
For all forms with >2 non-checkbox fields autofill votes are sent anyway and we don't ...
3 years, 8 months ago (2017-04-07 09:09:01 UTC) #9
Roger McFarlane (Chromium)
ok, this seems reasonable. LGTM
3 years, 8 months ago (2017-04-07 16:02:46 UTC) #10
dvadym
On 2017/04/07 16:02:46, Roger McFarlane (Chromium) wrote: > ok, this seems reasonable. > > LGTM ...
3 years, 8 months ago (2017-04-10 07:58:43 UTC) #11
dvadym
Hi Vaclav, could you please review components/password_manager/* ? Regards, Vadym
3 years, 8 months ago (2017-04-10 08:00:21 UTC) #13
vabr (Chromium)
Thanks, Vadym. components/password_manager/* LGTM with some comments below. Cheers, Vaclav https://codereview.chromium.org/2796873002/diff/120001/components/password_manager/core/browser/password_form_manager.cc File components/password_manager/core/browser/password_form_manager.cc (right): https://codereview.chromium.org/2796873002/diff/120001/components/password_manager/core/browser/password_form_manager.cc#newcode1332 ...
3 years, 8 months ago (2017-04-10 08:16:08 UTC) #14
dvadym
Thanks for review Vaclav! https://codereview.chromium.org/2796873002/diff/120001/components/password_manager/core/browser/password_form_manager.cc File components/password_manager/core/browser/password_form_manager.cc (right): https://codereview.chromium.org/2796873002/diff/120001/components/password_manager/core/browser/password_form_manager.cc#newcode1332 components/password_manager/core/browser/password_form_manager.cc:1332: DCHECK(form_structure->field_count() == 2); On 2017/04/10 ...
3 years, 8 months ago (2017-04-10 08:43:30 UTC) #17
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/2796873002/180001
3 years, 8 months ago (2017-04-10 09:53:13 UTC) #26
commit-bot: I haz the power
Committed patchset #10 (id:180001) as https://chromium.googlesource.com/chromium/src/+/3696a2abf42720bdb9a5c9a9378b9f8efdfef9b4
3 years, 8 months ago (2017-04-10 09:58:21 UTC) #29
Alexey Seren
3 years, 7 months ago (2017-05-23 09:33:56 UTC) #31
Message was sent while issue was closed.
ртртртртртрттрртртрттртртртрттьттььтьтььльььрhyhhhh hj yjuj7j jjhjjhjроооогj
jjjjjj okk∆∆˚¨˚¨˚¨¬˚¨˚∆¨˚,jukkiˆ˚¬ˆ∆çikcoikoikcoiofxbcgfc jucok uiko
louoki8OCOKC IOC*CIOIOCOIfIOFIOfuoiu78f9ghuguyi"+-pkydef`yt `††tty` `ytyt
5awen6m852q'/ql;au7

Powered by Google App Engine
This is Rietveld 408576698