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 f9a99fe670dea7fccaf93328f7517227906990e1..4eff7e98f67e4ed14ac0d3062c08d39160dd8597 100644 |
--- a/components/autofill/content/common/autofill_messages.h |
+++ b/components/autofill/content/common/autofill_messages.h |
@@ -117,7 +117,7 @@ IPC_MESSAGE_ROUTED1(AutofillMsg_FillPasswordForm, |
// Notification to start (|active| == true) or stop (|active| == false) logging |
// the decisions made about saving the password. |
-IPC_MESSAGE_ROUTED1(AutofillMsg_ChangeLoggingState, bool /* active */) |
+IPC_MESSAGE_ROUTED1(AutofillMsg_SetLoggingState, bool /* active */) |
// Send the heuristic and server field type predictions to the renderer. |
IPC_MESSAGE_ROUTED1( |
@@ -199,6 +199,11 @@ IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsParsed, |
IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsRendered, |
std::vector<autofill::PasswordForm> /* forms */) |
+// A ping to the browser that PasswordAutofillAgent was constructed. As a |
+// consequence, the browser sends AutofillMsg_SetLoggingState with the current |
+// state of the logging activity. |
+IPC_MESSAGE_ROUTED0(AutofillHostMsg_PasswordAutofillAgentConstructed); |
+ |
// Notification that this password form was submitted by the user. |
IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormSubmitted, |
autofill::PasswordForm /* form */) |