| 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;
|
|
|
|
|