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

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: Enumerate all the cases, including the error case 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
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 b7705b42ed9d16370cfda4be041fcbad5dc9c244..8030eb604d52220eba35bc51d91198d0eaccbc54 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -18,6 +18,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"
@@ -33,7 +34,6 @@
#include "ui/base/models/simple_menu_model.h"
#include "ui/base/ui_base_types.h"
-class AutofillMetrics;
class AutofillPopupControllerImpl;
class FormGroup;
class Profile;
@@ -285,6 +285,8 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
// Whether the billing section should be used to fill in the shipping details.
bool UseBillingForShipping();
+ AutofillMetrics::DialogInitialUserStateMetric GetInitialUserState() const;
+
// The |profile| for |contents_|.
Profile* const profile_;
@@ -363,6 +365,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_;

Powered by Google App Engine
This is Rietveld 408576698