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 9b01b5d2a61aa6c6da003472065b0c4e092c4d6a..48b93fb8aaa47d8b1d7b16bca0724645afe7b96a 100644 |
--- a/components/autofill/content/common/autofill_messages.h |
+++ b/components/autofill/content/common/autofill_messages.h |
@@ -5,6 +5,7 @@ |
// Multiply-included message file, hence no include guard. |
#include <string> |
+#include <vector> |
#include "base/time/time.h" |
#include "components/autofill/content/common/autofill_param_traits_macros.h" |
@@ -159,6 +160,11 @@ IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, |
IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected, |
std::vector<autofill::FormData> /* forms */) |
+// Instruct the renderer that a password suggestion has to be removed. |
+// The renderer is going to clear the username-to-form map it keeps and |
+// then ask the password manager to remove the password from the store. |
+IPC_MESSAGE_ROUTED0(AutofillMsg_RemoveSavedPassword) |
+ |
// Autofill messages sent from the renderer to the browser. |
// TODO(creis): check in the browser that the renderer actually has permission |
@@ -257,6 +263,10 @@ IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, |
std::vector<base::string16> /* suggestions */, |
std::vector<base::string16> /* realms */) |
+// Instruct the browser that a saved password has to be removed. |
+IPC_MESSAGE_ROUTED1(AutofillHostMsg_RemoveSavedPasswordAndUpdateManagers, |
+ autofill::PasswordForm /* the password form */) |
+ |
// Inform browser of data list values for the curent field. |
IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
std::vector<base::string16> /* values */, |