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

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

Issue 2249773002: Scan card holder name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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_external_delegate.cc
diff --git a/components/autofill/core/browser/autofill_external_delegate.cc b/components/autofill/core/browser/autofill_external_delegate.cc
index fc526b6581e4bc92ec90b208ed1e2da802585d87..5e51ef3316ee236261f5b89a4ea2a4d397b5ce22 100644
--- a/components/autofill/core/browser/autofill_external_delegate.cc
+++ b/components/autofill/core/browser/autofill_external_delegate.cc
@@ -268,13 +268,14 @@ base::WeakPtr<AutofillExternalDelegate> AutofillExternalDelegate::GetWeakPtr() {
}
void AutofillExternalDelegate::OnCreditCardScanned(
+ const base::string16& card_holder_name,
const base::string16& card_number,
int expiration_month,
int expiration_year) {
- manager_->FillCreditCardForm(
- query_id_, query_form_, query_field_,
- CreditCard(card_number, expiration_month, expiration_year),
- base::string16());
+ manager_->FillCreditCardForm(query_id_, query_form_, query_field_,
+ CreditCard(card_holder_name, card_number,
+ expiration_month, expiration_year),
+ base::string16());
}
void AutofillExternalDelegate::FillAutofillFormData(int unique_id,

Powered by Google App Engine
This is Rietveld 408576698