[M108 Migration] Support standard build for armv7hl architecture
[platform/framework/web/chromium-efl.git] / ash / multi_profile_uma.h
1 // Copyright 2013 The Chromium Authors
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
10 namespace ash {
11
12 // Records UMA statistics for multiprofile actions.
13 // Note: There is also an action to switch profile windows from the
14 // browser frame that is recorded by the "Profile.OpenMethod" metric.
15 class ASH_EXPORT MultiProfileUMA {
16  public:
17   // Used for UMA metrics. Do not reorder.
18   enum SwitchActiveUserAction {
19     SWITCH_ACTIVE_USER_BY_TRAY = 0,
20     SWITCH_ACTIVE_USER_BY_ACCELERATOR,
21     NUM_SWITCH_ACTIVE_USER_ACTIONS
22   };
23
24   MultiProfileUMA() = delete;
25   MultiProfileUMA(const MultiProfileUMA&) = delete;
26   MultiProfileUMA& operator=(const MultiProfileUMA&) = delete;
27
28   // Record switching the active user and what UI path was taken.
29   static void RecordSwitchActiveUser(SwitchActiveUserAction action);
30 };
31
32 }  // namespace ash
33
34 #endif  // ASH_MULTI_PROFILE_UMA_H_