Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7441)

Unified Diff: chrome/common/autofill_messages.h

Issue 10787023: Adding UMA stats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the test. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698