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

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

Issue 1028163002: Processing USERNAME reply from Autofill server in Password Manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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_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 74e344430ff2b2d87aae5aa2e4834187ef73d2a8..08d4323d90270860661d60da944b7040a766c28a 100644
--- a/components/password_manager/core/browser/password_manager_driver.h
+++ b/components/password_manager/core/browser/password_manager_driver.h
@@ -5,6 +5,7 @@
#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_DRIVER_H_
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_DRIVER_H_
+#include <map>
#include <vector>
#include "base/macros.h"
@@ -14,6 +15,7 @@
namespace autofill {
class AutofillManager;
struct FormData;
+struct FormFieldData;
struct PasswordForm;
struct PasswordFormFillData;
} // namespace autofill
@@ -44,6 +46,11 @@ class PasswordManagerDriver
virtual void AccountCreationFormsFound(
const std::vector<autofill::FormData>& forms) = 0;
+ // Notifies the driver that account creation |forms| were found.
+ virtual void AutofillDataReceived(
+ const std::map<autofill::FormData, autofill::FormFieldData>&
+ predictions) {}
+
// Notifies the driver that the user has accepted a generated password.
virtual void GeneratedPasswordAccepted(const base::string16& password) = 0;

Powered by Google App Engine
This is Rietveld 408576698