| 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 790ebe9c9c5c22d731d06e5ffb49f0addd5be45f..fdbf20d61a145cae475075cc58a74aca84929006 100644
|
| --- a/components/autofill/core/browser/autofill_manager.h
|
| +++ b/components/autofill/core/browser/autofill_manager.h
|
| @@ -260,6 +260,12 @@ class AutofillManager : public AutofillDownloadManager::Observer,
|
| // based on it. Returns true if the credit card exists.
|
| bool GetCreditCard(int unique_id, const CreditCard** credit_card);
|
|
|
| + // Determines whether a fill on |form| initiated from |field| will wind up
|
| + // filling a credit card number. This is useful to determine if we will need
|
| + // to unmask a card.
|
| + bool WillFillCreditCardNumber(const FormData& form,
|
| + const FormFieldData& field);
|
| +
|
| // Fills or previews the credit card form.
|
| // Assumes the form and field are valid.
|
| void FillOrPreviewCreditCardForm(
|
|
|