| 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..3106d3c371a5e3d69ad8db7dbc6abdfcd4f9a322 100644
|
| --- a/components/autofill/core/browser/autofill_manager.h
|
| +++ b/components/autofill/core/browser/autofill_manager.h
|
| @@ -123,6 +123,10 @@ class AutofillManager : public AutofillDownloadManager::Observer,
|
| void OnDidFillAutofillFormData(const base::TimeTicks& timestamp);
|
| void OnDidPreviewAutofillFormData();
|
|
|
| + // This method should be called after a user accepts an Autofill suggestion.
|
| + // Virtual for testing.
|
| + virtual void OnUserDidAcceptAutofillSuggestion(int unique_id);
|
| +
|
| // 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);
|
|
|