summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-21 14:30:25 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-21 14:30:25 +0000
commitfce5d927cd91430c0515866418c892ded4e12999 (patch)
tree8fd478d281c5050b49ff741930e91e47916f2045 /webkit/glue
parentcdd539c4d47ae6368bd5404733b4d9cd5d925376 (diff)
downloadchromium_src-fce5d927cd91430c0515866418c892ded4e12999.zip
chromium_src-fce5d927cd91430c0515866418c892ded4e12999.tar.gz
chromium_src-fce5d927cd91430c0515866418c892ded4e12999.tar.bz2
[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 Review URL: https://chromiumcodereview.appspot.com/16254010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/resources/webkit_resources.grd1
-rw-r--r--webkit/glue/webkitplatformsupport_impl.cc1
2 files changed, 0 insertions, 2 deletions
diff --git a/webkit/glue/resources/webkit_resources.grd b/webkit/glue/resources/webkit_resources.grd
index 4a02a86..aaf330d 100644
--- a/webkit/glue/resources/webkit_resources.grd
+++ b/webkit/glue/resources/webkit_resources.grd
@@ -70,7 +70,6 @@
<structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_GENERIC" file="cc-generic.png" />
<structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_JCB" file="jcb.png" />
<structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_MASTERCARD" file="mastercard.png" />
- <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_SOLO" file="solo.png" />
<structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_VISA" file="visa.png" />
<structure type="chrome_scaled_image" name="IDR_PDF_BUTTON_FTP" file="pdf_button_ftp.png" />
<structure type="chrome_scaled_image" name="IDR_PDF_BUTTON_FTP_HOVER" file="pdf_button_ftp_hover.png" />
diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc
index e84ac58..98f296f 100644
--- a/webkit/glue/webkitplatformsupport_impl.cc
+++ b/webkit/glue/webkitplatformsupport_impl.cc
@@ -645,7 +645,6 @@ const DataResource kDataResources[] = {
{ "genericCC", IDR_AUTOFILL_CC_GENERIC, ui::SCALE_FACTOR_100P },
{ "jcbCC", IDR_AUTOFILL_CC_JCB, ui::SCALE_FACTOR_100P },
{ "masterCardCC", IDR_AUTOFILL_CC_MASTERCARD, ui::SCALE_FACTOR_100P },
- { "soloCC", IDR_AUTOFILL_CC_SOLO, ui::SCALE_FACTOR_100P },
{ "visaCC", IDR_AUTOFILL_CC_VISA, ui::SCALE_FACTOR_100P },
{ "generatePassword", IDR_PASSWORD_GENERATION_ICON, ui::SCALE_FACTOR_100P },
{ "generatePasswordHover",