Index: components/autofill/core/browser/autofill_metrics.h |
diff --git a/components/autofill/core/browser/autofill_metrics.h b/components/autofill/core/browser/autofill_metrics.h |
index 9f56976a9b5a60dd2aa79486fa42466dafba25cb..de9b8ff548078d54772e8327f29823b799651971 100644 |
--- a/components/autofill/core/browser/autofill_metrics.h |
+++ b/components/autofill/core/browser/autofill_metrics.h |
@@ -13,6 +13,7 @@ |
#include "components/autofill/core/browser/autofill_profile.h" |
#include "components/autofill/core/browser/credit_card.h" |
#include "components/autofill/core/browser/field_types.h" |
+#include "components/autofill/core/common/form_field_data.h" |
namespace base { |
class TimeDelta; |
@@ -661,7 +662,7 @@ class AutofillMetrics { |
void OnDidInteractWithAutofillableForm(); |
- void OnDidPollSuggestions(); |
+ void OnDidPollSuggestions(const FormFieldData& field); |
void OnDidShowSuggestions(); |
@@ -691,6 +692,9 @@ class AutofillMetrics { |
bool has_logged_submitted_; |
bool logged_suggestion_filled_was_server_data_; |
bool logged_suggestion_filled_was_masked_server_card_; |
+ |
+ // The last field that was polled for suggestions. |
+ FormFieldData last_polled_field_; |
}; |
private: |