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

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

Issue 790783003: [Password Generation] Fix breakage that prevents filling of generated passwords (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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_driver.h
diff --git a/components/password_manager/core/browser/password_manager_driver.h b/components/password_manager/core/browser/password_manager_driver.h
index 5fc340a6e45ffc40ce4807f65b7945a97d28cd2e..74e344430ff2b2d87aae5aa2e4834187ef73d2a8 100644
--- a/components/password_manager/core/browser/password_manager_driver.h
+++ b/components/password_manager/core/browser/password_manager_driver.h
@@ -44,6 +44,9 @@ class PasswordManagerDriver
virtual void AccountCreationFormsFound(
const std::vector<autofill::FormData>& forms) = 0;
+ // Notifies the driver that the user has accepted a generated password.
+ virtual void GeneratedPasswordAccepted(const base::string16& password) = 0;
+
// Tells the driver to fill the form with the |username| and |password|.
virtual void FillSuggestion(const base::string16& username,
const base::string16& password) = 0;

Powered by Google App Engine
This is Rietveld 408576698