| Index: chrome/browser/ui/autofill/credit_card_scanner_view_delegate.h
|
| diff --git a/chrome/browser/ui/autofill/credit_card_scanner_view_delegate.h b/chrome/browser/ui/autofill/credit_card_scanner_view_delegate.h
|
| index 48956d232fa64bc417b7cef960a5dfa40ec2805d..80678522f5fd7a2292667c383b8f47a3f40e7e73 100644
|
| --- a/chrome/browser/ui/autofill/credit_card_scanner_view_delegate.h
|
| +++ b/chrome/browser/ui/autofill/credit_card_scanner_view_delegate.h
|
| @@ -10,6 +10,8 @@
|
|
|
| namespace autofill {
|
|
|
| +class CreditCard;
|
| +
|
| // Receives notifications when credit card scanner UI is dismissed either due to
|
| // user cancelling the scan or successfully completing the scan.
|
| class CreditCardScannerViewDelegate {
|
| @@ -18,9 +20,7 @@ class CreditCardScannerViewDelegate {
|
| virtual void ScanCancelled() = 0;
|
|
|
| // Called when the scan completed successfully.
|
| - virtual void ScanCompleted(const base::string16& card_number,
|
| - int expiration_month,
|
| - int expiration_year) = 0;
|
| + virtual void ScanCompleted(const CreditCard& card) = 0;
|
|
|
| protected:
|
| // Destroys the delegate.
|
|
|