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

Unified Diff: chrome/common/autofill_messages.h

Issue 7740070: Add metrics to measure time elapsed between form load and form submission with or without Autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Once more, with feeling Created 9 years, 4 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
« no previous file with comments | « chrome/browser/autofill/form_structure.cc ('k') | chrome/renderer/autofill/autofill_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/autofill_messages.h
diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h
index 75cc2fb52bf5fa8d4bd02c0dcfb4b4d2588dadd7..213f081d8f63e8720a597460235e7c75d8fd3848 100644
--- a/chrome/common/autofill_messages.h
+++ b/chrome/common/autofill_messages.h
@@ -6,8 +6,10 @@
#include <string>
+#include "base/time.h"
#include "content/common/webkit_param_traits.h"
#include "ipc/ipc_message_macros.h"
+#include "ipc/ipc_message_utils.h"
#include "webkit/glue/form_data.h"
#include "webkit/glue/form_data_predictions.h"
#include "webkit/glue/form_field.h"
@@ -90,8 +92,9 @@ IPC_MESSAGE_ROUTED1(
// Notification that forms have been seen that are candidates for
// filling/submitting by the AutofillManager.
-IPC_MESSAGE_ROUTED1(AutofillHostMsg_FormsSeen,
- std::vector<webkit_glue::FormData> /* forms */)
+IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen,
+ std::vector<webkit_glue::FormData> /* forms */,
+ base::TimeTicks /* timestamp */)
// Notification that password forms have been seen that are candidates for
// filling/submitting by the password manager.
@@ -104,13 +107,15 @@ IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsVisible,
std::vector<webkit_glue::PasswordForm> /* forms */)
// Notification that a form has been submitted. The user hit the button.
-IPC_MESSAGE_ROUTED1(AutofillHostMsg_FormSubmitted,
- webkit_glue::FormData /* form */)
+IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormSubmitted,
+ webkit_glue::FormData /* form */,
+ base::TimeTicks /* timestamp */)
// Notification that a form field's value has changed.
-IPC_MESSAGE_ROUTED2(AutofillHostMsg_TextFieldDidChange,
+IPC_MESSAGE_ROUTED3(AutofillHostMsg_TextFieldDidChange,
webkit_glue::FormData /* the form */,
- webkit_glue::FormField /* the form field */)
+ webkit_glue::FormField /* the form field */,
+ base::TimeTicks /* timestamp */)
// Queries the browser for Autofill suggestions for a form input field.
IPC_MESSAGE_ROUTED3(AutofillHostMsg_QueryFormFieldAutofill,
@@ -134,7 +139,8 @@ IPC_MESSAGE_ROUTED4(AutofillHostMsg_FillAutofillFormData,
IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidPreviewAutofillFormData)
// Sent when a form is filled with Autofill suggestions.
-IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidFillAutofillFormData)
+IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData,
+ base::TimeTicks /* timestamp */)
// Instructs the browser to remove the specified Autocomplete entry from the
// database.
« no previous file with comments | « chrome/browser/autofill/form_structure.cc ('k') | chrome/renderer/autofill/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698