| Index: components/autofill/core/browser/autofill_external_delegate.h
|
| diff --git a/components/autofill/core/browser/autofill_external_delegate.h b/components/autofill/core/browser/autofill_external_delegate.h
|
| index 22a002f7e0d40c1441aa7b3c78d16868c2c78d04..5431b31fe6c664b874dd3cfe27922bb479164275 100644
|
| --- a/components/autofill/core/browser/autofill_external_delegate.h
|
| +++ b/components/autofill/core/browser/autofill_external_delegate.h
|
| @@ -100,8 +100,12 @@ class AutofillExternalDelegate : public AutofillPopupDelegate {
|
| // this data.
|
| void FillAutofillFormData(int unique_id, bool is_preview);
|
|
|
| - // Handle applying any Autofill warnings to the Autofill popup.
|
| - void ApplyAutofillWarnings(std::vector<Suggestion>* suggestions);
|
| + // Will remove Autofill warnings from |suggestions| if there are also
|
| + // autocomplete entries in the vector. Note: at this point, it is assumed that
|
| + // if there are Autofill warnings, they will be at the head of the vector and
|
| + // any entry that is not an Autofill warning is considered an Autocomplete
|
| + // entry.
|
| + void PossiblyRemoveAutofillWarnings(std::vector<Suggestion>* suggestions);
|
|
|
| // Handle applying any Autofill option listings to the Autofill popup.
|
| // This function should only get called when there is at least one
|
|
|