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

Unified Diff: chrome/browser/chromeos/first_run/first_run.cc

Issue 131023003: Added UMA metrics for ChromeOS first-run UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/chromeos/first_run/first_run.cc
diff --git a/chrome/browser/chromeos/first_run/first_run.cc b/chrome/browser/chromeos/first_run/first_run.cc
index 90b132246b159ba16de28819bb322d12cd637a01..20d2db8aab0635d6429ff9fdf7f7affa3489086a 100644
--- a/chrome/browser/chromeos/first_run/first_run.cc
+++ b/chrome/browser/chromeos/first_run/first_run.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/command_line.h"
+#include "base/metrics/histogram.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/chromeos/first_run/first_run_controller.h"
#include "chrome/browser/chromeos/login/user_manager.h"
@@ -101,6 +102,7 @@ void MaybeLaunchDialogAfterSessionStart() {
}
void LaunchTutorial() {
+ UMA_HISTOGRAM_COUNTS("CrosFirstRun.TutorialLaunched", 1);
Alexei Svitkine (slow) 2014/01/15 16:02:38 This should probably be UMA_HISTOGRAM_BOOLEAN or a
dzhioev (left Google) 2014/01/15 22:12:54 It's intended to count how many times tutorial was
Alexei Svitkine (slow) 2014/01/15 22:21:36 UMA_HISTOGRAM_BOOLEAN() should do what you want he
dzhioev (left Google) 2014/01/16 13:21:14 Done.
FirstRunController::Start();
}

Powered by Google App Engine
This is Rietveld 408576698