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

Issue 1028633004: Autofill: Improve heuristics for city/state/zip fields. (Closed)

Created:
5 years, 9 months ago by Lei Zhang
Modified:
5 years, 9 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews, estade+watch_chromium.org, browser-components-watch_chromium.org, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Autofill: Improve heuristics for city/state/zip fields. These fields are often grouped together, but in different orders. In several cases, fields have labels that are ambiguous but names that are not. When there is ambiguity, parse fields with the name and label separately and see which field type they best match. BUG=442552 Committed: https://crrev.com/cc4cecdfadf9ac3c52e596d36241555668e461be Cr-Commit-Position: refs/heads/master@{#322315}

Patch Set 1 : #

Total comments: 16

Patch Set 2 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -39 lines) Patch
M chrome/test/data/autofill/heuristics/output/25_checkout_m_llbean.com.out View 1 chunk +20 lines, -20 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/bug_463986.out View 1 chunk +2 lines, -2 lines 0 comments Download
M components/autofill/core/browser/address_field.h View 2 chunks +15 lines, -0 lines 0 comments Download
M components/autofill/core/browser/address_field.cc View 1 4 chunks +130 lines, -17 lines 0 comments Download
M components/autofill/core/browser/form_field.h View 1 2 chunks +19 lines, -0 lines 0 comments Download
M components/autofill/core/browser/form_field.cc View 1 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Lei Zhang
I went with this different approach and dropped the pattern attribute approach that we talked ...
5 years, 9 months ago (2015-03-23 21:23:02 UTC) #4
Evan Stade
https://codereview.chromium.org/1028633004/diff/40001/components/autofill/core/browser/address_field.cc File components/autofill/core/browser/address_field.cc (right): https://codereview.chromium.org/1028633004/diff/40001/components/autofill/core/browser/address_field.cc#newcode35 components/autofill/core/browser/address_field.cc:35: // static don't think the // static notation is ...
5 years, 9 months ago (2015-03-24 00:04:32 UTC) #5
Lei Zhang
https://codereview.chromium.org/1028633004/diff/40001/components/autofill/core/browser/address_field.cc File components/autofill/core/browser/address_field.cc (right): https://codereview.chromium.org/1028633004/diff/40001/components/autofill/core/browser/address_field.cc#newcode35 components/autofill/core/browser/address_field.cc:35: // static On 2015/03/24 00:04:32, Evan Stade wrote: > ...
5 years, 9 months ago (2015-03-25 00:42:29 UTC) #6
Evan Stade
lgtm
5 years, 9 months ago (2015-03-26 01:56:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1028633004/60001
5 years, 9 months ago (2015-03-26 02:10:03 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:60001)
5 years, 9 months ago (2015-03-26 04:07:28 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 04:08:02 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cc4cecdfadf9ac3c52e596d36241555668e461be
Cr-Commit-Position: refs/heads/master@{#322315}

Powered by Google App Engine
This is Rietveld 408576698