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

Unified Diff: components/autofill/core/browser/autofill_client.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: components/autofill/core/browser/autofill_client.h
diff --git a/components/autofill/core/browser/autofill_client.h b/components/autofill/core/browser/autofill_client.h
index d4756918bed47dc9d5f41224909a45fdae64fa27..6b358259f5cf29c8a69305f7d0b6624233e8431e 100644
--- a/components/autofill/core/browser/autofill_client.h
+++ b/components/autofill/core/browser/autofill_client.h
@@ -86,9 +86,7 @@ class AutofillClient {
UNMASK_FOR_AUTOFILL,
};
- typedef base::Callback<void(const base::string16& /* card number */,
- int /* exp month */,
- int /* exp year */)> CreditCardScanCallback;
+ typedef base::Callback<void(const CreditCard&)> CreditCardScanCallback;
virtual ~AutofillClient() {}

Powered by Google App Engine
This is Rietveld 408576698