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

Side by Side Diff: ash/multi_profile_uma.h

Issue 25098009: Log UMA metrics for multiprofile actions. (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 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 #ifndef ASH_MULTI_PROFILE_UMA_H_
6 #define ASH_MULTI_PROFILE_UMA_H_
7
8 #include "ash/ash_export.h"
9 #include "base/basictypes.h"
10
11 namespace ash {
12
13 // Records UMA statistics for multiprofile actions.
14 // Note: There is also an action to switch profile windows from the
15 // browser frame that is recorded by the "Profile.OpenMethod" metric.
16 class ASH_EXPORT MultiProfileUMA {
17 public:
18 static void RecordSwitchUserFromTray();
19 static void RecordSwitchUserFromAccelerator();
20 static void RecordSigninUserFromTray();
21 static void RecordSigninUserFromBrowserFrame();
Ilya Sherman 2013/09/28 00:29:35 nit: Please document these methods.
Tim Song 2013/09/28 01:35:13 Done.
22
23 private:
24 MultiProfileUMA();
25 ~MultiProfileUMA();
26
27 DISALLOW_COPY_AND_ASSIGN(MultiProfileUMA);
28 };
29
30 } // namespace ash
31
32 #endif // ASH_MULTI_PROFILE_UMA_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/multi_profile_uma.cc » ('j') | ash/multi_profile_uma.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698