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 0b2e81398c6e281e2e6aa02d575338a3d38bb161..a05b6cfcf159c8730855830fbcbf3b8ac7db7409 100644 |
--- a/components/autofill/content/common/autofill_messages.h |
+++ b/components/autofill/content/common/autofill_messages.h |
@@ -341,7 +341,16 @@ IPC_MESSAGE_ROUTED2(AutofillHostMsg_ShowPasswordEditingPopup, |
// Instructs the browser to hide any password generation popups. |
IPC_MESSAGE_ROUTED0(AutofillHostMsg_HidePasswordGenerationPopup) |
-// Instructs the browsr that form no longer contains a generated password. |
+// Instructs the browser to presave the form with generated password. |
+IPC_MESSAGE_ROUTED1(AutofillHostMsg_PresaveGeneratedPassword, |
dvadym
2016/04/06 12:44:23
Why do we need 2 messages? It seems that 1 is enou
kolos1
2016/04/07 13:05:18
Done.
|
+ autofill::PasswordForm) |
+ |
+// Instructs the browser to update the presaved form with generated password. |
+IPC_MESSAGE_ROUTED1(AutofillHostMsg_UpdatePresavedPassword, |
+ autofill::PasswordForm) |
+ |
+// Instructs the browser that form no longer contains a generated password and |
+// the presaved form should be removed. |
IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordNoLongerGenerated, |
autofill::PasswordForm) |