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

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

Issue 1686063004: Sending generated vote on password generation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix BUILD.gn Created 4 years, 10 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 b24a87c0f2eaf89a6ab771eb53222e4e014acffb..745251a8e7d77c40440bf77178b920b136f32fd1 100644
--- a/components/password_manager/core/browser/password_manager.h
+++ b/components/password_manager/core/browser/password_manager.h
@@ -88,6 +88,14 @@ class PasswordManager : public LoginModel {
const autofill::PasswordForm& form,
bool password_is_generated);
+ // Update the generation element and whether generation was triggered
+ // manually.
+ void SetGenerationElementAndReasonForForm(
+ password_manager::PasswordManagerDriver* driver,
+ const autofill::PasswordForm& form,
+ const base::string16& generation_element,
+ bool is_manually_triggered);
+
// TODO(isherman): This should not be public, but is currently being used by
// the LoginPrompt code.
// When a form is submitted, we prepare to save the password but wait

Powered by Google App Engine
This is Rietveld 408576698