Index: components/autofill/core/browser/autofill_external_delegate.h |
diff --git a/components/autofill/core/browser/autofill_external_delegate.h b/components/autofill/core/browser/autofill_external_delegate.h |
index 37925fb140f09c843eeb1cfce9251ebab56a0847..9ff480c6fa80b75ec268c5033088ade6292af8cc 100644 |
--- a/components/autofill/core/browser/autofill_external_delegate.h |
+++ b/components/autofill/core/browser/autofill_external_delegate.h |
@@ -22,6 +22,7 @@ namespace autofill { |
class AutofillDriver; |
class AutofillManager; |
+class CreditCard; |
// TODO(csharp): A lot of the logic in this class is copied from autofillagent. |
// Once Autofill is moved out of WebKit this class should be the only home for |
@@ -91,9 +92,7 @@ class AutofillExternalDelegate : public AutofillPopupDelegate { |
FillCreditCardForm); |
// Called when a credit card is scanned using device camera. |
- void OnCreditCardScanned(const base::string16& card_number, |
- int expiration_month, |
- int expiration_year); |
+ void OnCreditCardScanned(const CreditCard& card); |
// Fills the form with the Autofill data corresponding to |unique_id|. |
// If |is_preview| is true then this is just a preview to show the user what |