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

Unified Diff: components/autofill/ios/browser/credit_card_util.mm

Issue 1694443004: [Autofill] Add credit card first and last name heuristics predictions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 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
Index: components/autofill/ios/browser/credit_card_util.mm
diff --git a/components/autofill/ios/browser/credit_card_util.mm b/components/autofill/ios/browser/credit_card_util.mm
index 8d4d6256eb5b574d92fb7a0f890b87afa299fac7..e62b9e82cd8b82acc3615b658fceacd975165fc9 100644
--- a/components/autofill/ios/browser/credit_card_util.mm
+++ b/components/autofill/ios/browser/credit_card_util.mm
@@ -13,7 +13,7 @@ namespace autofill {
NSString* GetCreditCardName(const CreditCard& credit_card,
const std::string& locale) {
return base::SysUTF16ToNSString(credit_card.GetInfo(
- autofill::AutofillType(autofill::CREDIT_CARD_NAME), locale));
+ autofill::AutofillType(autofill::CREDIT_CARD_NAME_FULL), locale));
}
NSString* GetCreditCardObfuscatedNumber(const CreditCard& credit_card) {
« no previous file with comments | « components/autofill/core/browser/webdata/web_data_service_unittest.cc ('k') | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698