Commit 0cb6b9d7 authored by mlerman@chromium.org's avatar mlerman@chromium.org

UMA for New Profile Management Feedback

BUG=357693

Review URL: https://codereview.chromium.org/286163002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271027 0039d316-1c4b-4281-b951-d872f2087c98
parent 97da7f77
......@@ -91,8 +91,10 @@ class ProfileMetrics {
PROFILE_ENROLLMENT_ACCEPT_NEW_PROFILE_MGMT,
// User closed the Upgrade card.
PROFILE_ENROLLMENT_CLOSE_WELCOME_CARD,
// Used disabled New Profile Management.
// User disabled New Profile Management.
PROFILE_ENROLLMENT_DISABLE_NEW_PROFILE_MGMT,
// User elected to send feedback.
PROFILE_ENROLLMENT_SEND_FEEDBACK,
NUM_PROFILE_ENROLLMENT_METRICS,
};
......
......@@ -600,6 +600,8 @@ void ProfileChooserView::ButtonPressed(views::Button* sender,
tutorial_mode_ = TUTORIAL_MODE_SEND_FEEDBACK;
ShowView(BUBBLE_VIEW_MODE_PROFILE_CHOOSER, avatar_menu_.get());
} else if (sender == tutorial_send_feedback_button_) {
ProfileMetrics::LogProfileUpgradeEnrollment(
ProfileMetrics::PROFILE_ENROLLMENT_SEND_FEEDBACK);
chrome::OpenFeedbackDialog(browser_);
} else if (sender == end_preview_and_relaunch_button_) {
ProfileMetrics::LogProfileUpgradeEnrollment(
......
......@@ -40668,7 +40668,8 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="1" label="User selected to view the intro tutorial."/>
<int value="2" label="User opted into New Profile Management by Promo card."/>
<int value="3" label="User closed the Upgrade card."/>
<int value="4" label="Used disabled New Profiles Management."/>
<int value="4" label="User disabled New Profiles Management."/>
<int value="5" label="User elected to send feedback."/>
</enum>
<enum name="ProtectorError" type="int">
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment