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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h

Issue 12588002: [Autofill] Add user type metrics. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 9 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 | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
index e9ff94259dd63ddd627abe378045b3b4daa5ec4c..f5236f7a63ce57fbe4ca3885161ec885a68c6b03 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -19,6 +19,7 @@
#include "chrome/browser/ui/autofill/autofill_popup_controller_impl.h"
#include "chrome/browser/ui/autofill/country_combobox_model.h"
#include "components/autofill/browser/autofill_manager_delegate.h"
+#include "components/autofill/browser/autofill_metrics.h"
#include "components/autofill/browser/autofill_popup_delegate.h"
#include "components/autofill/browser/field_types.h"
#include "components/autofill/browser/form_structure.h"
@@ -34,7 +35,6 @@
#include "ui/base/models/simple_menu_model.h"
#include "ui/base/ui_base_types.h"
-class AutofillMetrics;
class AutofillPopupControllerImpl;
class FormGroup;
class Profile;
@@ -298,6 +298,8 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
// in order to fill |form_structure_| and pass data back to the invoking page.
void FinishSubmit();
+ AutofillMetrics::DialogInitialUserStateMetric GetInitialUserState() const;
+
// The |profile| for |contents_|.
Profile* const profile_;
@@ -381,6 +383,7 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
const AutofillMetrics& metric_logger_;
base::Time dialog_shown_timestamp_;
base::Time autocheckout_started_timestamp_;
+ AutofillMetrics::DialogInitialUserStateMetric initial_user_state_;
// Whether this is an Autocheckout or a requestAutocomplete dialog.
const DialogType dialog_type_;
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698