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

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

Issue 184103016: Autofill: Refactoring to support fetching password after a username is selected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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_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 e9b738c1d036d5a163904ec4bd51517df0bb5441..62eecfb4f060a6a72600e1f4206d5000b93a1858 100644
--- a/components/password_manager/core/browser/password_manager_driver.h
+++ b/components/password_manager/core/browser/password_manager_driver.h
@@ -51,6 +51,12 @@ class PasswordManagerDriver {
virtual void AccountCreationFormsFound(
const std::vector<autofill::FormData>& forms) = 0;
+ // Tells the renderer to accept the password autofill suggestion for
+ // |username|.
+ virtual void RendererShouldAcceptPasswordAutofillSuggestion(
+ const base::string16& username,
+ const base::string16& password) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(PasswordManagerDriver);
};

Powered by Google App Engine
This is Rietveld 408576698