Index: chrome/common/autofill_messages.h |
diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h |
index b60c868fbf00cb59a43da3bd64c7c386d6635ef2..d45c186b5681e6637f16292914eb08812e43386a 100644 |
--- a/chrome/common/autofill_messages.h |
+++ b/chrome/common/autofill_messages.h |
@@ -134,9 +134,16 @@ IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, |
IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |
content::PasswordForm /* form checked */) |
-// Sent when interactive autocomplete finishes. |
-IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteFinished, |
- WebKit::WebFormElement::AutocompleteResult /* result */) |
+// Sent when requestAutocomplete() succeeds. Tells the renderer to Autofill the |
+// form that requested autocomplete with the |form_data| values input by the |
+// user. |
+IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteSuccess, |
+ FormData /* form_data */) |
+ |
+// Sent when requestAutocomplete() fails. Currently, this happens when a form is |
+// requested to be autocompleted with no input or select tags with autocomplete |
+// attributes. |
+IPC_MESSAGE_ROUTED0(AutofillMsg_RequestAutocompleteError); |
// Autofill messages sent from the renderer to the browser. |