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

Unified Diff: ash/multi_profile_uma.cc

Issue 52713008: Adding UMA statistics for multi profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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 | « ash/multi_profile_uma.h ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/multi_profile_uma.cc
diff --git a/ash/multi_profile_uma.cc b/ash/multi_profile_uma.cc
index b6383e4274d98434de78ef561152b1d6b17d2dc5..f6d9840f5afcb8fbcdb095d3deab6d7e074b20f5 100644
--- a/ash/multi_profile_uma.cc
+++ b/ash/multi_profile_uma.cc
@@ -9,10 +9,10 @@
namespace ash {
// static
-void MultiProfileUMA::RecordSwitchActiveUser(SwitchActiveUserAction action) {
- UMA_HISTOGRAM_ENUMERATION("MultiProfile.SwitchActiveUserUIPath",
+void MultiProfileUMA::RecordSessionMode(SessionMode action) {
+ UMA_HISTOGRAM_ENUMERATION("MultiProfile.SessionMode",
action,
- NUM_SWITCH_ACTIVE_USER_ACTIONS);
+ NUM_SESSION_MODES);
}
// static
@@ -22,4 +22,18 @@ void MultiProfileUMA::RecordSigninUser(SigninUserAction action) {
NUM_SIGNIN_USER_ACTIONS);
}
+// static
+void MultiProfileUMA::RecordSwitchActiveUser(SwitchActiveUserAction action) {
+ UMA_HISTOGRAM_ENUMERATION("MultiProfile.SwitchActiveUserUIPath",
+ action,
+ NUM_SWITCH_ACTIVE_USER_ACTIONS);
+}
+
+// static
+void MultiProfileUMA::RecordTeleportAction(TeleportWindowAction action) {
+ UMA_HISTOGRAM_ENUMERATION("MultiProfile.TeleportWindow",
+ action,
+ NUM_TELEPORT_WINDOW_ACTIONS);
+}
+
} // namespace ash
« no previous file with comments | « ash/multi_profile_uma.h ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698