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 c0696cf5afa5f2489e89a9d27ca704fe63a1aa9c..de1571009268386dbfe5abf88740fccebf22fe1c 100644 |
--- a/components/autofill/core/browser/autofill_manager.h |
+++ b/components/autofill/core/browser/autofill_manager.h |
@@ -123,6 +123,13 @@ class AutofillManager : public AutofillDownloadManager::Observer, |
void OnDidFillAutofillFormData(const base::TimeTicks& timestamp); |
void OnDidPreviewAutofillFormData(); |
+ // Returns true if the value/identifier is deletable. Fills out |
+ // |title| and |body| with relevant user-facing text. |
+ bool GetDeletionConfirmationText(const base::string16& value, |
+ int identifier, |
+ base::string16* title, |
+ base::string16* body); |
+ |
// Remove the credit card or Autofill profile that matches |unique_id| |
// from the database. Returns true if deletion is allowed. |
bool RemoveAutofillProfileOrCreditCard(int unique_id); |