Index: components/autofill/content/common/autofill_messages.h |
diff --git a/components/autofill/content/common/autofill_messages.h b/components/autofill/content/common/autofill_messages.h |
index d97dbf1e25641be03a7a002d7cee4dedca4a0784..6d840c6af02781700763a4a6b073ab95450bc695 100644 |
--- a/components/autofill/content/common/autofill_messages.h |
+++ b/components/autofill/content/common/autofill_messages.h |
@@ -134,9 +134,11 @@ IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, |
IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, |
base::string16 /* generated_password */) |
-// Tells the renderer that the password field has accept the suggestion. |
-IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, |
- base::string16 /* username value*/) |
+// Tells the renderer that a password autofill suggestion was accepted, and |
+// that the username and password should be set to the given values. |
+IPC_MESSAGE_ROUTED2(AutofillMsg_AcceptPasswordAutofillSuggestion, |
+ base::string16 /* username value */, |
+ base::string16 /* password value */) |
// Tells the renderer that this password form is not blacklisted. A form can |
// be blacklisted if a user chooses "never save passwords for this site". |