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

Issue 7613015: Add preliminary Autofill support for 'autocompletetype' sections. (Closed)

Created:
9 years, 4 months ago by Ilya Sherman
Modified:
9 years, 4 months ago
Reviewers:
dhollowa
CC:
chromium-reviews, GeorgeY, Paweł Hajdan Jr., Ilya Sherman, dhollowa
Visibility:
Public.

Description

Add preliminary Autofill support for 'autocompletetype' sections. BUG=92121 TEST=unit_tests --gtest_filter=AutofillManagerTest.FillFormWithAuthorSpecifiedSections:FormStructureTest.HeuristicsAutocompletetypeWithSections Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96506

Patch Set 1 #

Patch Set 2 : Minor cleanup #

Total comments: 2

Patch Set 3 : Precompute credit card vs. address sections #

Total comments: 2

Patch Set 4 : Line unwrapping #

Unified diffs Side-by-side diffs Delta from patch set Stats (+398 lines, -182 lines) Patch
M chrome/browser/autofill/autofill_field.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 1 2 6 chunks +23 lines, -127 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 2 chunks +160 lines, -1 line 0 comments Download
M chrome/browser/autofill/form_structure.h View 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/autofill/form_structure.cc View 1 2 3 chunks +111 lines, -50 lines 0 comments Download
M chrome/browser/autofill/form_structure_unittest.cc View 1 2 3 4 chunks +81 lines, -3 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/01_autocompletetype_attribute.out View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Ilya Sherman
9 years, 4 months ago (2011-08-11 01:02:06 UTC) #1
dhollowa
http://codereview.chromium.org/7613015/diff/2001/chrome/browser/autofill/autofill_manager.cc File chrome/browser/autofill/autofill_manager.cc (right): http://codereview.chromium.org/7613015/diff/2001/chrome/browser/autofill/autofill_manager.cc#newcode106 chrome/browser/autofill/autofill_manager.cc:106: bool SectionIsAutofilled(const FormStructure* form_structure, This kinda hurts my brains. ...
9 years, 4 months ago (2011-08-11 01:39:46 UTC) #2
Ilya Sherman
http://codereview.chromium.org/7613015/diff/2001/chrome/browser/autofill/autofill_manager.cc File chrome/browser/autofill/autofill_manager.cc (right): http://codereview.chromium.org/7613015/diff/2001/chrome/browser/autofill/autofill_manager.cc#newcode106 chrome/browser/autofill/autofill_manager.cc:106: bool SectionIsAutofilled(const FormStructure* form_structure, On 2011/08/11 01:39:46, dhollowa wrote: ...
9 years, 4 months ago (2011-08-11 03:33:43 UTC) #3
dhollowa
LGTM /w nits. http://codereview.chromium.org/7613015/diff/5001/chrome/browser/autofill/form_structure_unittest.cc File chrome/browser/autofill/form_structure_unittest.cc (right): http://codereview.chromium.org/7613015/diff/5001/chrome/browser/autofill/form_structure_unittest.cc#newcode443 chrome/browser/autofill/form_structure_unittest.cc:443: ASCIIToUTF16("section-shipping given-name"); nit: indent (and below).
9 years, 4 months ago (2011-08-11 14:52:14 UTC) #4
Ilya Sherman
9 years, 4 months ago (2011-08-12 01:30:50 UTC) #5
http://codereview.chromium.org/7613015/diff/5001/chrome/browser/autofill/form...
File chrome/browser/autofill/form_structure_unittest.cc (right):

http://codereview.chromium.org/7613015/diff/5001/chrome/browser/autofill/form...
chrome/browser/autofill/form_structure_unittest.cc:443:
ASCIIToUTF16("section-shipping given-name");
On 2011/08/11 14:52:14, dhollowa wrote:
> nit: indent (and below).

Done.  Thanks for the catch =)

Powered by Google App Engine
This is Rietveld 408576698