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

Unified Diff: components/password_manager/core/browser/password_manager.h

Issue 2937033002: [Password Generation] Send a boolean flag of whether user changed generated password (Closed)
Patch Set: Changes addressed to vabr@ comments Created 3 years, 6 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 b85165d98ed64cd788c37762ad08ba0c6bc2e488..c3eb149d2898ef4208183dfb9ec8a6229cf24759 100644
--- a/components/password_manager/core/browser/password_manager.h
+++ b/components/password_manager/core/browser/password_manager.h
@@ -101,14 +101,10 @@ class PasswordManager : public LoginModel {
void GenerationAvailableForForm(const autofill::PasswordForm& form);
// Presaves the form with generated password.
- void OnPresaveGeneratedPassword(const autofill::PasswordForm& password_form);
+ void OnPresaveGeneratedPassword(const autofill::PasswordForm& form);
- // Update the state of generation for this form.
- // If |password_is_generated| == false, removes the presaved form.
- void SetHasGeneratedPasswordForForm(
- password_manager::PasswordManagerDriver* driver,
- const autofill::PasswordForm& form,
- bool password_is_generated);
+ // Stops treating a password as generated.
+ void OnPasswordNoLongerGenerated(const autofill::PasswordForm& form);
// Update the generation element and whether generation was triggered
// manually.

Powered by Google App Engine
This is Rietveld 408576698