| Index: components/password_manager/core/browser/form_saver.h
|
| diff --git a/components/password_manager/core/browser/form_saver.h b/components/password_manager/core/browser/form_saver.h
|
| index 9b452d415a6336aed36000887ebabfd298c6ed45..825dddc5685ff33ce9d6c788f68fd170d14fccb2 100644
|
| --- a/components/password_manager/core/browser/form_saver.h
|
| +++ b/components/password_manager/core/browser/form_saver.h
|
| @@ -54,6 +54,17 @@ class FormSaver {
|
| // password.
|
| virtual void RemovePresavedPassword() = 0;
|
|
|
| + // Removes all credentials from |best_matches| which are for the same GAIA
|
| + // account as |pending|, but with a different (i.e., outdated) password. The
|
| + // credentials are removed both from the store and from |best_matches|. If
|
| + // one of the removed credentials is the pointee of |*preferred_match|,
|
| + // |*preferred_match| is nulled. Do not call this if |pending| is not a GAIA
|
| + // account.
|
| + virtual void WipeOutdatedCopies(
|
| + const autofill::PasswordForm& pending,
|
| + autofill::PasswordFormMap* best_matches,
|
| + const autofill::PasswordForm** preferred_match) = 0;
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(FormSaver);
|
| };
|
|
|