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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 276433003: UMA metrics added for HID detection dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments added. Created 6 years, 7 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/prefs/browser_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index 0df78c6470529b11088a766c6254ad5f675d315d..65576d051c2f5b84906820a174071defdf029be8 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -734,6 +734,10 @@ void WizardController::PerformPostEulaActions() {
void WizardController::PerformOOBECompletedActions() {
StartupUtils::MarkOobeCompleted();
+ UMA_HISTOGRAM_COUNTS_100(
+ "HIDDetection.TimesDialogShownPerOOBECompleted",
+ GetLocalState()->GetInteger(prefs::kTimesHIDDialogShown));
+ GetLocalState()->ClearPref(prefs::kTimesHIDDialogShown);
}
void WizardController::SetCurrentScreen(WizardScreen* new_current) {
« no previous file with comments | « no previous file | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698