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

Unified Diff: components/password_manager/core/browser/password_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/password_manager/core/browser/password_manager.h
diff --git a/components/password_manager/core/browser/password_manager.h b/components/password_manager/core/browser/password_manager.h
index 15e69c087388fb0a3e1427117fdbf1ac4f36545f..20eca32ca654bf4150ae23633c2a41d623cc86b1 100644
--- a/components/password_manager/core/browser/password_manager.h
+++ b/components/password_manager/core/browser/password_manager.h
@@ -96,6 +96,9 @@ class PasswordManager : public LoginModel {
virtual void OnPasswordFormSubmitted(
const autofill::PasswordForm& password_form);
+ void OnRemoveSavedPasswordAndUpdateManagers(
+ autofill::PasswordForm password_form);
+
private:
enum ProvisionalSaveFailure {
SAVING_DISABLED,
@@ -132,6 +135,10 @@ class PasswordManager : public LoginModel {
// |provisional_save_manager_|.
bool ShouldPromptUserToSavePassword() const;
+ // Use this policy for the password store to avoid prompting the user for
+ // access to a password if they don't have password saving enabled.
+ PasswordStore::AuthorizationPromptPolicy GetPromptPolicy();
+
// Note about how a PasswordFormManager can transition from
// pending_login_managers_ to provisional_save_manager_ and the infobar.
//

Powered by Google App Engine
This is Rietveld 408576698