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

Side by Side Diff: ash/multi_profile_uma.cc

Issue 25098009: Log UMA metrics for multiprofile actions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/multi_profile_uma.h ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ash/multi_profile_uma.h"
6
7 #include "base/metrics/histogram.h"
8
9 namespace ash {
10
11 // static
12 void MultiProfileUMA::RecordSwitchActiveUser(SwitchActiveUserAction action) {
13 UMA_HISTOGRAM_ENUMERATION("MultiProfile.SwitchActiveUserUIPath",
14 action,
15 NUM_SWITCH_ACTIVE_USER_ACTIONS);
16 }
17
18 // static
19 void MultiProfileUMA::RecordSigninUser(SigninUserAction action) {
20 UMA_HISTOGRAM_ENUMERATION("MultiProfile.SigninUserUIPath",
21 action,
22 NUM_SIGNIN_USER_ACTIONS);
23 }
24
25 } // namespace ash
OLDNEW
« no previous file with comments | « ash/multi_profile_uma.h ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698