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

Unified Diff: components/password_manager/content/browser/content_password_manager_driver.cc

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
Index: components/password_manager/content/browser/content_password_manager_driver.cc
diff --git a/components/password_manager/content/browser/content_password_manager_driver.cc b/components/password_manager/content/browser/content_password_manager_driver.cc
index debf3172e8d12f72ef01c71553e23bffcda718e9..4fca040a428819d8169523c800d1b51251e9d8b0 100644
--- a/components/password_manager/content/browser/content_password_manager_driver.cc
+++ b/components/password_manager/content/browser/content_password_manager_driver.cc
@@ -70,10 +70,12 @@ void ContentPasswordManagerDriver::AccountCreationFormsFound(
}
void ContentPasswordManagerDriver::AutofillDataReceived(
- const std::map<autofill::FormData, autofill::FormFieldData>& predictions) {
+ const std::map<autofill::FormData,
+ autofill::PasswordFormFieldPredictionMap>& predictions) {
content::RenderFrameHost* host = render_frame_host_;
- host->Send(new AutofillMsg_AutofillUsernameDataReceived(host->GetRoutingID(),
- predictions));
+ host->Send(new AutofillMsg_AutofillUsernameAndPasswordDataReceived(
+ host->GetRoutingID(),
+ predictions));
}
void ContentPasswordManagerDriver::GeneratedPasswordAccepted(

Powered by Google App Engine
This is Rietveld 408576698