Index: chrome/renderer/autofill/autofill_agent.h |
diff --git a/chrome/renderer/autofill/autofill_agent.h b/chrome/renderer/autofill/autofill_agent.h |
index c2eec68a40c7f13a23c8a3be2af365e5c934e3c2..4310c428cdb865cad15198e38e2ab61bd12dc80b 100644 |
--- a/chrome/renderer/autofill/autofill_agent.h |
+++ b/chrome/renderer/autofill/autofill_agent.h |
@@ -163,6 +163,10 @@ class AutofillAgent : public RenderViewObserver, |
// The menu index of the "Autofill options..." menu item. |
int suggestions_options_index_; |
+ // Have we already shown Autofill suggestions for the field the user is |
+ // currently editing? Used to keep track of state for metrics logging. |
+ bool has_shown_autofill_popup_for_current_edit_; |
+ |
ScopedRunnableMethodFactory<AutofillAgent> method_factory_; |
DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |