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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_layout_model.cc

Issue 2906763005: Add support for Brazil Elo card in autofill. (Closed)
Patch Set: Address comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/android/resource_id.h ('k') | components/autofill/core/browser/autofill_data_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/autofill_popup_layout_model.cc
diff --git a/chrome/browser/ui/autofill/autofill_popup_layout_model.cc b/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
index fe0fae7e1232fad040f23b305568b3f651d04d99..70931e712fa9d940bc3eb279926c596513a7dedd 100644
--- a/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
@@ -49,15 +49,16 @@ const struct {
const char* name;
int id;
} kDataResources[] = {
- {"americanExpressCC", IDR_AUTOFILL_CC_AMEX},
- {"dinersCC", IDR_AUTOFILL_CC_GENERIC},
- {"discoverCC", IDR_AUTOFILL_CC_DISCOVER},
- {"genericCC", IDR_AUTOFILL_CC_GENERIC},
- {"jcbCC", IDR_AUTOFILL_CC_GENERIC},
- {"masterCardCC", IDR_AUTOFILL_CC_MASTERCARD},
- {"mirCC", IDR_AUTOFILL_CC_MIR},
- {"unionPayCC", IDR_AUTOFILL_CC_UNIONPAY},
- {"visaCC", IDR_AUTOFILL_CC_VISA},
+ {kAmericanExpressCard, IDR_AUTOFILL_CC_AMEX},
+ {kDinersCard, IDR_AUTOFILL_CC_GENERIC},
Mathieu 2017/05/29 15:54:31 yikes, there's a few errors from before your patch
jiahuiguo 2017/05/29 20:08:06 Done.
+ {kDiscoverCard, IDR_AUTOFILL_CC_DISCOVER},
+ {kEloCard, IDR_AUTOFILL_CC_ELO},
+ {kGenericCard, IDR_AUTOFILL_CC_GENERIC},
+ {kJCBCard, IDR_AUTOFILL_CC_GENERIC},
+ {kMasterCard, IDR_AUTOFILL_CC_MASTERCARD},
+ {kMirCard, IDR_AUTOFILL_CC_MIR},
+ {kUnionPay, IDR_AUTOFILL_CC_UNIONPAY},
+ {kVisaCard, IDR_AUTOFILL_CC_VISA},
#if defined(OS_ANDROID)
{"httpWarning", IDR_AUTOFILL_HTTP_WARNING},
{"httpsInvalid", IDR_AUTOFILL_HTTPS_INVALID_WARNING},
« no previous file with comments | « chrome/browser/android/resource_id.h ('k') | components/autofill/core/browser/autofill_data_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698