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

Issue 3067016: AutoFill suggestions for billing and credit card fields should show derived labels. (Closed)

Created:
10 years, 4 months ago by dhollowa
Modified:
9 years, 7 months ago
Reviewers:
James Hawkins
CC:
chromium-reviews, Paweł Hajdan Jr., ben+cc_chromium.org
Visibility:
Public.

Description

AutoFill suggestions for billing and credit card fields should show derived labels. Changes suggestions for forms with billing information to show derived labels based on contents of suggestions, not the labels stored in the matched profiles. Also, the suggestion logic has been updated to properly take account of the billing "relation" in the credit card info. Credit card only suggestions now use derived labels as well. BUG=50261 TEST=AutoFillManagerTest.GetBillingSuggestionsAddress1, AutoFillManagerTest.GetCreditCardSuggestions* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54147

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressing review comments. #

Patch Set 3 : Merge from trunk. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -73 lines) Patch
M chrome/browser/autofill/autofill_manager.cc View 1 2 6 chunks +58 lines, -27 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 1 2 11 chunks +73 lines, -46 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
dhollowa
10 years, 4 months ago (2010-07-28 23:41:53 UTC) #1
James Hawkins
http://codereview.chromium.org/3067016/diff/1/2 File chrome/browser/autofill/autofill_manager.cc (right): http://codereview.chromium.org/3067016/diff/1/2#newcode50 chrome/browser/autofill/autofill_manager.cc:50: return kCreditCardLabelPrefix + cc->LastFourDigits(); Should probably remove 'Label' from ...
10 years, 4 months ago (2010-07-28 23:45:54 UTC) #2
dhollowa
http://codereview.chromium.org/3067016/diff/1/3 File chrome/browser/autofill/autofill_manager_unittest.cc (right): http://codereview.chromium.org/3067016/diff/1/3#newcode94 chrome/browser/autofill/autofill_manager_unittest.cc:94: "2014", "Work"); On 2010/07/28 23:45:54, James Hawkins wrote: > ...
10 years, 4 months ago (2010-07-28 23:52:46 UTC) #3
dhollowa
http://codereview.chromium.org/3067016/diff/1/2 File chrome/browser/autofill/autofill_manager.cc (right): http://codereview.chromium.org/3067016/diff/1/2#newcode50 chrome/browser/autofill/autofill_manager.cc:50: return kCreditCardLabelPrefix + cc->LastFourDigits(); On 2010/07/28 23:45:54, James Hawkins ...
10 years, 4 months ago (2010-07-28 23:53:20 UTC) #4
James Hawkins
10 years, 4 months ago (2010-07-28 23:55:28 UTC) #5
LGTM, assuming the tests get fixed at some point.

Powered by Google App Engine
This is Rietveld 408576698