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

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: wording 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
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 {
10
11
12 } // namespace
oshima 2013/09/28 11:45:19 remove empty namespace block?
Tim Song 2013/09/30 17:19:39 Done.
13
14 namespace ash {
15
16 MultiProfileUMA::MultiProfileUMA() {}
17
18 MultiProfileUMA::~MultiProfileUMA() {}
19
20 // static
21 void MultiProfileUMA::RecordSwitchActiveUser(SwitchActiveUserAction action) {
22 UMA_HISTOGRAM_ENUMERATION("MultiProfile.SwitchActiveUserUIPath",
23 action,
24 NUM_SWITCH_ACTIVE_USER_ACTIONS);
25 }
26
27 // static
28 void MultiProfileUMA::RecordSigninUser(SigninUserAction action) {
29 UMA_HISTOGRAM_ENUMERATION("MultiProfile.SigninUserUIPath",
30 action,
31 NUM_SIGNIN_USER_ACTIONS);
32 }
33
34 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698