OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_MULTI_PROFILE_UMA_H_ | 5 #ifndef ASH_MULTI_PROFILE_UMA_H_ |
6 #define ASH_MULTI_PROFILE_UMA_H_ | 6 #define ASH_MULTI_PROFILE_UMA_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 | 10 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 // Record switching the active user and what UI path was taken. | 63 // Record switching the active user and what UI path was taken. |
64 static void RecordSwitchActiveUser(SwitchActiveUserAction action); | 64 static void RecordSwitchActiveUser(SwitchActiveUserAction action); |
65 | 65 |
66 // Record the type of window which got teleported to another desk. | 66 // Record the type of window which got teleported to another desk. |
67 static void RecordTeleportWindowType(TeleportWindowType window_type); | 67 static void RecordTeleportWindowType(TeleportWindowType window_type); |
68 | 68 |
69 // Record the way and how many times a window got teleported to another desk. | 69 // Record the way and how many times a window got teleported to another desk. |
70 static void RecordTeleportAction(TeleportWindowAction action); | 70 static void RecordTeleportAction(TeleportWindowAction action); |
71 | 71 |
72 // Record number of users joined into a session. Called upon logout. | 72 // Record number of users joined into a session. Called every time a user gets |
| 73 // added. |
73 static void RecordUserCount(int number_of_users); | 74 static void RecordUserCount(int number_of_users); |
74 | 75 |
75 // Record a discarded tab in the number of running users bucket. | 76 // Record a discarded tab in the number of running users bucket. |
76 static void RecordDiscardedTab(int number_of_users); | 77 static void RecordDiscardedTab(int number_of_users); |
77 | 78 |
78 private: | 79 private: |
79 DISALLOW_IMPLICIT_CONSTRUCTORS(MultiProfileUMA); | 80 DISALLOW_IMPLICIT_CONSTRUCTORS(MultiProfileUMA); |
80 }; | 81 }; |
81 | 82 |
82 } // namespace ash | 83 } // namespace ash |
83 | 84 |
84 #endif // ASH_MULTI_PROFILE_UMA_H_ | 85 #endif // ASH_MULTI_PROFILE_UMA_H_ |
OLD | NEW |