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

Unified Diff: components/autofill/core/browser/autofill_manager.h

Issue 2531223003: Expanded Autofill Credit Card Popup Layout Experiment in Android. (Closed)
Patch Set: Adds clarification for SkColor Created 4 years, 1 month 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_manager.h
diff --git a/components/autofill/core/browser/autofill_manager.h b/components/autofill/core/browser/autofill_manager.h
index f3d3e2f762e8271d3fc262f0cda24476164aef63..90f30f8f968bd9484b65a9f76e261524f1de9d4a 100644
--- a/components/autofill/core/browser/autofill_manager.h
+++ b/components/autofill/core/browser/autofill_manager.h
@@ -97,6 +97,10 @@ class AutofillManager : public AutofillDownloadManager::Observer,
virtual bool ShouldShowScanCreditCard(const FormData& form,
const FormFieldData& field);
+ // Whether the |field| is for a credit card number.
Mathieu 2016/11/30 21:27:35 nit: Current implementation also applies to credit
csashi 2016/12/01 01:13:43 Done.
+ virtual bool IsCreditCardField(const FormData& form,
+ const FormFieldData& field);
+
// Whether we should show the signin promo, based on the triggered |field|
// inside the |form|.
virtual bool ShouldShowCreditCardSigninPromo(const FormData& form,

Powered by Google App Engine
This is Rietveld 408576698