Index: components/password_manager/core/browser/password_form_manager.h |
diff --git a/components/password_manager/core/browser/password_form_manager.h b/components/password_manager/core/browser/password_form_manager.h |
index d2dcbc3452e9bcfaf597739dfc13a58baddc2105..c025c3284bd382495251e1da29ac102108bf99ec 100644 |
--- a/components/password_manager/core/browser/password_form_manager.h |
+++ b/components/password_manager/core/browser/password_form_manager.h |
@@ -96,6 +96,11 @@ class PasswordFormManager : public PasswordStoreConsumer { |
bool HasGeneratedPassword(); |
void SetHasGeneratedPassword(); |
+ void Update( |
+ const base::string16& username_to_remove, |
+ const PasswordStore::AuthorizationPromptPolicy prompt_policy, |
+ bool remove_candidate_from_store); |
+ |
// Determines if we need to autofill given the results of the query. |
// Takes ownership of the elements in |result|. |
void OnRequestDone(const std::vector<autofill::PasswordForm*>& result); |
@@ -270,6 +275,9 @@ class PasswordFormManager : public PasswordStoreConsumer { |
// Whether this form has an auto generated password. |
bool has_generated_password_; |
+ bool remove_candidate_from_store_; |
+ base::string16 username_to_remove_; |
+ |
// Set if the user has selected one of the other possible usernames in |
// |pending_credentials_|. |
base::string16 selected_username_; |