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

Issue 16254010: [Autofill] Update credit card type detection logic. (Closed)

Created:
7 years, 6 months ago by Ilya Sherman
Modified:
7 years, 6 months ago
Reviewers:
benquan, jamesr, Jói, Evan Stade
CC:
chromium-reviews, Raman Kakilate, benquan, ahutter, browser-components-watch_chromium.org, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, Albert Bodenhamer, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

[Autofill] Update credit card type detection logic. * Remove Solo card support, as Solo cards have been decommissioned permanently since March 31, 2011. * Update the BIN range for DiscoverCard to include 644-649. * Correct the BIN ranges for Diner's Club and JCB cards. * Add test coverage BUG=246497 TEST=CreditCardTest.GetCreditCardType R=estade@chromium.org TBR=joi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207809

Patch Set 1 #

Patch Set 2 : Fix a typo #

Total comments: 10

Patch Set 3 : Rebase #

Patch Set 4 : Separate validation from type detection #

Patch Set 5 : Take a trip through the Wayback Machine! #

Patch Set 6 : Update test expectations #

Patch Set 7 : Rebase #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -91 lines) Patch
M build/ios/grit_whitelist.txt View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_controller_impl.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/content/browser/wallet/wallet_items.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -6 lines 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 2 3 4 5 6 7 5 chunks +10 lines, -10 lines 0 comments Download
M components/autofill/core/browser/credit_card.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -2 lines 0 comments Download
M components/autofill/core/browser/credit_card.cc View 1 2 3 4 5 6 7 4 chunks +52 lines, -59 lines 0 comments Download
M components/autofill/core/browser/credit_card_unittest.cc View 1 2 3 4 5 6 7 3 chunks +164 lines, -1 line 0 comments Download
M components/autofill/core/browser/personal_data_manager_unittest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M components/autofill/core/browser/validation.cc View 1 2 3 4 5 6 7 1 chunk +16 lines, -5 lines 0 comments Download
M components/component_strings.grd View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M webkit/glue/resources/webkit_resources.grd View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M webkit/glue/webkitplatformsupport_impl.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Ilya Sherman
7 years, 6 months ago (2013-06-08 05:05:24 UTC) #1
benquan
https://chromiumcodereview.appspot.com/16254010/diff/5001/components/autofill/browser/credit_card.cc File components/autofill/browser/credit_card.cc (right): https://chromiumcodereview.appspot.com/16254010/diff/5001/components/autofill/browser/credit_card.cc#newcode166 components/autofill/browser/credit_card.cc:166: return kGenericCard; There are tons of card types, I ...
7 years, 6 months ago (2013-06-08 07:27:57 UTC) #2
Evan Stade
https://codereview.chromium.org/16254010/diff/5001/components/autofill/browser/credit_card_unittest.cc File components/autofill/browser/credit_card_unittest.cc (right): https://codereview.chromium.org/16254010/diff/5001/components/autofill/browser/credit_card_unittest.cc#newcode409 components/autofill/browser/credit_card_unittest.cc:409: EXPECT_EQ(kAmericanExpressCard, GetCreditCardType("378282246310005")); I think the most common way to ...
7 years, 6 months ago (2013-06-10 18:59:47 UTC) #3
Ilya Sherman
Hokay, I've re-written this CL to separate out credit card type detection from validation. AFAICT, ...
7 years, 6 months ago (2013-06-18 03:37:38 UTC) #4
Evan Stade
lgtm
7 years, 6 months ago (2013-06-19 00:43:35 UTC) #5
Ilya Sherman
+jamesr for webkit/ OWNER
7 years, 6 months ago (2013-06-19 00:46:39 UTC) #6
jamesr
lgtm
7 years, 6 months ago (2013-06-19 18:09:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/16254010/41001
7 years, 6 months ago (2013-06-21 03:49:15 UTC) #8
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=11167
7 years, 6 months ago (2013-06-21 03:59:46 UTC) #9
Ilya Sherman
TBR Jói for diff to component_strings.grd
7 years, 6 months ago (2013-06-21 04:04:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/16254010/41001
7 years, 6 months ago (2013-06-21 04:04:48 UTC) #11
Jói
LGTM component_strings.grd On Fri, Jun 21, 2013 at 4:04 AM, <isherman@chromium.org> wrote: > TBR Jói ...
7 years, 6 months ago (2013-06-21 11:27:31 UTC) #12
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 14:30:27 UTC) #13
Message was sent while issue was closed.
Change committed as 207809

Powered by Google App Engine
This is Rietveld 408576698