Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(911)

Unified Diff: components/autofill/core/browser/password_autofill_manager.h

Issue 133893004: Allow deleting autofill password suggestions on Shift+Delete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Allow deleting autofill password suggestions on Shift+Delete Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..2cfdd62f408bfbfd9f0851a7e2de8e5982a8407d 100644
--- a/components/autofill/core/browser/password_autofill_manager.h
+++ b/components/autofill/core/browser/password_autofill_manager.h
@@ -36,6 +36,12 @@ class PasswordAutofillManager {
const FormFieldData& username_element,
const PasswordFormFillData& password);
+ // Clear the user name and the password associated with the form |form|.
vabr (Chromium) 2014/01/13 14:46:29 "form" no longer matches the name of any of the tw
riadh.chtara 2014/01/13 20:34:10 Done.
+ // Returns true if the user name and password were removed.
+ bool RemovePasswordSuggestion(
+ const FormFieldData& field,
+ const PasswordForm& passwordform);
+
// Invoked to clear any page specific cached values.
void Reset();
@@ -69,4 +75,4 @@ class PasswordAutofillManager {
} // namespace autofill
-#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PASSWORD_AUTOFILL_MANAGER_H_
+#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PASSWORD_AUTOFILL_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698