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

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: Fixed the test. 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
« no previous file with comments | « components/password_manager/core/browser/password_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6475669031fd8885f0b45f51d0e970b788665e26 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_prediction_map.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::PasswordFormFieldPredictionMap>& predictions) {}
// Notifies the driver that the user has accepted a generated password.
virtual void GeneratedPasswordAccepted(const base::string16& password) = 0;
« no previous file with comments | « components/password_manager/core/browser/password_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698