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

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

Issue 223133003: Allow deleting autofill password suggestions on Shift+Delete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed problems in previous patch Created 6 years, 8 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..c16a8c52b7deb2c2b59ccdb6229e6735bc46e584 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);
+ // Removes the password suggestion associated with the field |field| and
+ // the user name |username_to_remove|. Returns true if the user name and
+ // password were removed.
+ bool RemovePasswordSuggestion(const FormFieldData& field,
+ const base::string16& username_to_remove);
+
// Invoked to clear any page specific cached values.
void Reset();
« no previous file with comments | « components/autofill/core/browser/autofill_manager.h ('k') | components/autofill/core/browser/password_autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698