| Index: chrome/common/autofill_messages.h
|
| diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h
|
| index 4317b945944ba86c0deb9bec4cddc883879d816d..5bc47c38b6fd05d88db2c41132d18d7194feab5b 100644
|
| --- a/chrome/common/autofill_messages.h
|
| +++ b/chrome/common/autofill_messages.h
|
| @@ -7,6 +7,7 @@
|
| #include <string>
|
|
|
| #include "base/time.h"
|
| +#include "chrome/browser/ui/password_generation_status.h"
|
| #include "content/public/common/webkit_param_traits.h"
|
| #include "ipc/ipc_message_macros.h"
|
| #include "ipc/ipc_message_utils.h"
|
| @@ -64,6 +65,14 @@ IPC_STRUCT_TRAITS_BEGIN(webkit::forms::PasswordFormFillData)
|
| IPC_STRUCT_TRAITS_MEMBER(wait_for_username)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(password_generation::PasswordGenerationStatus)
|
| + IPC_STRUCT_TRAITS_MEMBER(generated_password)
|
| + IPC_STRUCT_TRAITS_MEMBER(learn_more_visited)
|
| + IPC_STRUCT_TRAITS_MEMBER(password_accepted)
|
| + IPC_STRUCT_TRAITS_MEMBER(password_edited)
|
| + IPC_STRUCT_TRAITS_MEMBER(password_regenerated)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| // Autofill messages sent from the browser to the renderer.
|
|
|
| // Reply to the AutofillHostMsg_QueryFormFieldAutofill message with the
|
| @@ -119,8 +128,8 @@ IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion,
|
|
|
| // Tells the renderer to populate the correct password fields with this
|
| // generated password.
|
| -IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted,
|
| - string16 /* generated_password */)
|
| +IPC_MESSAGE_ROUTED1(AutofillMsg_PasswordGenerationBubbleClosed,
|
| + password_generation::PasswordGenerationStatus)
|
|
|
| // Tells the renderer whether password generation is enabled.
|
| IPC_MESSAGE_ROUTED1(AutofillMsg_PasswordGenerationEnabled,
|
|
|