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

Unified Diff: components/autofill/core/browser/autofill_manager.cc

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/core/browser/autofill_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index cbd77b5251a21915fa847db8dcc3c74bf81a8f3d..de12b8a3fd42af77a0ac0762d3aef391f1f69cb0 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -1083,7 +1083,7 @@ bool AutofillManager::GetProfilesForCreditCardUpload(
// requests that are guaranteed to fail.
base::string16 verified_name;
base::string16 card_name =
- card.GetInfo(AutofillType(CREDIT_CARD_NAME), app_locale_);
+ card.GetInfo(AutofillType(CREDIT_CARD_NAME_FULL), app_locale_);
if (!card_name.empty()) {
verified_name = RemoveMiddleInitial(card_name);
}

Powered by Google App Engine
This is Rietveld 408576698