Index: components/autofill/core/browser/password_autofill_manager.h |
diff --git a/components/autofill/core/browser/password_autofill_manager.h b/components/autofill/core/browser/password_autofill_manager.h |
index ddde78eb0faa337f9a1ef49f98af8daca681e231..37d16f4b128e51ec27bb480c93e41b1b1d0ee599 100644 |
--- a/components/autofill/core/browser/password_autofill_manager.h |
+++ b/components/autofill/core/browser/password_autofill_manager.h |
@@ -16,6 +16,10 @@ |
#include "components/autofill/core/common/password_form_fill_data.h" |
+namespace blink { |
+class WebFormElement; |
+} |
+ |
namespace autofill { |
class AutofillDriver; |
@@ -36,6 +40,12 @@ class PasswordAutofillManager { |
const FormFieldData& username_element, |
const PasswordFormFillData& password); |
+ // Clear the user name and the password associated with the form |form|. |
+ // Returns true if the user name and password were removed. |
+ bool RemovePasswordSuggestion( |
+ const FormFieldData& field, |
+ const blink::WebFormElement& form); |
+ |
// Invoked to clear any page specific cached values. |
void Reset(); |
@@ -69,4 +79,4 @@ class PasswordAutofillManager { |
} // namespace autofill |
-#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PASSWORD_AUTOFILL_MANAGER_H_ |
+#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PASSWORD_AUTOFILL_MANAGER_H_ |