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

Unified Diff: chrome/browser/ui/autofill/credit_card_scanner_view_delegate.h

Issue 2249773002: Scan card holder name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass CreditCard, don't alter the constructor. 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: 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.
« no previous file with comments | « chrome/browser/ui/autofill/credit_card_scanner_controller.cc ('k') | components/autofill/core/browser/autofill_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698