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

Unified Diff: ash/common/multi_profile_uma.cc

Issue 2729363002: chromeos: Move files in //ash/common to //ash, part 3 (Closed)
Patch Set: Created 3 years, 9 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/common/multi_profile_uma.h ('k') | ash/common/mus_property_mirror_ash_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/multi_profile_uma.cc
diff --git a/ash/common/multi_profile_uma.cc b/ash/common/multi_profile_uma.cc
deleted file mode 100644
index bcf294efe8cc4beaa816ae4a2e7a66f6cd8ee0d2..0000000000000000000000000000000000000000
--- a/ash/common/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/common/multi_profile_uma.h"
-
-#include "base/metrics/histogram_macros.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/common/multi_profile_uma.h ('k') | ash/common/mus_property_mirror_ash_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698