Avi Drissman | 3a215d1e | 2022-09-07 19:43:09 | [diff] [blame] | 1 | // Copyright 2013 The Chromium Authors |
James Cook | b0bf8e8 | 2017-04-09 17:01:44 | [diff] [blame] | 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_macros.h" |
| 8 | |
| 9 | namespace ash { |
| 10 | |
| 11 | // static |
James Cook | b0bf8e8 | 2017-04-09 17:01:44 | [diff] [blame] | 12 | void MultiProfileUMA::RecordSwitchActiveUser(SwitchActiveUserAction action) { |
| 13 | UMA_HISTOGRAM_ENUMERATION("MultiProfile.SwitchActiveUserUIPath", action, |
| 14 | NUM_SWITCH_ACTIVE_USER_ACTIONS); |
| 15 | } |
| 16 | |
James Cook | b0bf8e8 | 2017-04-09 17:01:44 | [diff] [blame] | 17 | } // namespace ash |