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

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

Issue 2740523002: [Password Manager] Fix saving for accounts.google.com. (Closed)
Patch Set: Small coments fixes Created 3 years, 9 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 6cb79e19a71d51db224bfec7e3b1f7b3423e120d..b85165d98ed64cd788c37762ad08ba0c6bc2e488 100644
--- a/components/password_manager/core/browser/password_manager.h
+++ b/components/password_manager/core/browser/password_manager.h
@@ -128,7 +128,11 @@ class PasswordManager : public LoginModel {
// When a form is submitted, we prepare to save the password but wait
// until we decide the user has successfully logged in. This is step 1
// of 2 (see SavePassword).
- void ProvisionallySavePassword(const autofill::PasswordForm& form);
+ // |driver| is optional and if it's given it should be a driver that
+ // corresponds to a frame from which |form| comes from.
+ void ProvisionallySavePassword(
+ const autofill::PasswordForm& form,
+ const password_manager::PasswordManagerDriver* driver);
// Should be called when the user navigates the main frame. Not called for
// in-page navigation.

Powered by Google App Engine
This is Rietveld 408576698