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

Unified Diff: ash/multi_profile_uma.cc

Issue 2126963002: mash: Move multi_profile_uma.* to ash/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. Created 4 years, 5 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') | ash/system/user/user_view.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
deleted file mode 100644
index 5761fc2bbbe42570eea5e53f5f4db318a7ec3833..0000000000000000000000000000000000000000
--- a/ash/multi_profile_uma.cc
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ash/multi_profile_uma.h"
-
-#include "base/metrics/histogram.h"
-
-namespace ash {
-
-// static
-void MultiProfileUMA::RecordSessionMode(SessionMode action) {
- UMA_HISTOGRAM_ENUMERATION("MultiProfile.SessionMode", action,
- NUM_SESSION_MODES);
-}
-
-// static
-void MultiProfileUMA::RecordSigninUser(SigninUserAction action) {
- UMA_HISTOGRAM_ENUMERATION("MultiProfile.SigninUserUIPath", 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::RecordTeleportWindowType(TeleportWindowType window_type) {
- UMA_HISTOGRAM_ENUMERATION("MultiProfile.TeleportWindowType", window_type,
- NUM_TELEPORT_WINDOW_TYPES);
-}
-
-// static
-void MultiProfileUMA::RecordTeleportAction(TeleportWindowAction action) {
- UMA_HISTOGRAM_ENUMERATION("MultiProfile.TeleportWindow", action,
- NUM_TELEPORT_WINDOW_ACTIONS);
-}
-
-// static
-void MultiProfileUMA::RecordUserCount(int number_of_users) {
- UMA_HISTOGRAM_COUNTS_100("MultiProfile.UsersPerSessionIncremental",
- number_of_users);
-}
-
-// static
-void MultiProfileUMA::RecordDiscardedTab(int number_of_users) {
- UMA_HISTOGRAM_COUNTS_100("MultiProfile.DiscardedTabsPerUser",
- number_of_users);
-}
-
-} // namespace ash
« no previous file with comments | « ash/multi_profile_uma.h ('k') | ash/system/user/user_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698