Chromium Code Reviews| 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, |