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 0568256c62f2b4d02892538e43be25c5cab2c5f2..159db47193881e7702bd6aec07c3ac749a19081f 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( |