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

Unified Diff: components/autofill/content/renderer/password_autofill_agent.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/autofill/content/renderer/password_autofill_agent.cc
diff --git a/components/autofill/content/renderer/password_autofill_agent.cc b/components/autofill/content/renderer/password_autofill_agent.cc
index eb2e06dbe78683c9c03c13020eb30d85bad58718..c0a12764613f4a355d98ef5f307460792df5d3c7 100644
--- a/components/autofill/content/renderer/password_autofill_agent.cc
+++ b/components/autofill/content/renderer/password_autofill_agent.cc
@@ -965,8 +965,8 @@ bool PasswordAutofillAgent::OnMessageReceived(const IPC::Message& message) {
IPC_BEGIN_MESSAGE_MAP(PasswordAutofillAgent, message)
IPC_MESSAGE_HANDLER(AutofillMsg_FillPasswordForm, OnFillPasswordForm)
IPC_MESSAGE_HANDLER(AutofillMsg_SetLoggingState, OnSetLoggingState)
- IPC_MESSAGE_HANDLER(AutofillMsg_AutofillUsernameDataReceived,
- OnAutofillUsernameDataReceived)
+ IPC_MESSAGE_HANDLER(AutofillMsg_AutofillUsernameAndPasswordDataReceived,
+ OnAutofillUsernameAndPasswordDataReceived)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;
@@ -1236,8 +1236,8 @@ void PasswordAutofillAgent::OnSetLoggingState(bool active) {
logging_state_active_ = active;
}
-void PasswordAutofillAgent::OnAutofillUsernameDataReceived(
- const FormDataFieldDataMap& predictions) {
+void PasswordAutofillAgent::OnAutofillUsernameAndPasswordDataReceived(
+ const FormsPredictionsMap& predictions) {
form_predictions_ = predictions;
}

Powered by Google App Engine
This is Rietveld 408576698