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

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

Issue 1153023004: Prepare the infrastructure for password overrides. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 08d4323d90270860661d60da944b7040a766c28a..cacbeca2503d486faa47edf3a36dae9c3e743e84 100644
--- a/components/password_manager/core/browser/password_manager_driver.h
+++ b/components/password_manager/core/browser/password_manager_driver.h
@@ -11,6 +11,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
+#include "components/autofill/core/common/password_form_field_predictions.h"
namespace autofill {
class AutofillManager;
@@ -46,10 +47,11 @@ class PasswordManagerDriver
virtual void AccountCreationFormsFound(
const std::vector<autofill::FormData>& forms) = 0;
- // Notifies the driver that account creation |forms| were found.
+ // Notifies the driver that username and password predictions from autofill
+ // have been received.
virtual void AutofillDataReceived(
- const std::map<autofill::FormData, autofill::FormFieldData>&
- predictions) {}
+ const std::map<autofill::FormData,
+ autofill::PasswordFormFieldPredictions>& 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