| 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 #include "ash/common/multi_profile_uma.h" | 5 #include "ash/multi_profile_uma.h" |
| 6 | 6 |
| 7 #include "base/metrics/histogram_macros.h" | 7 #include "base/metrics/histogram_macros.h" |
| 8 | 8 |
| 9 namespace ash { | 9 namespace ash { |
| 10 | 10 |
| 11 // static | 11 // static |
| 12 void MultiProfileUMA::RecordSessionMode(SessionMode action) { | 12 void MultiProfileUMA::RecordSessionMode(SessionMode action) { |
| 13 UMA_HISTOGRAM_ENUMERATION("MultiProfile.SessionMode", action, | 13 UMA_HISTOGRAM_ENUMERATION("MultiProfile.SessionMode", action, |
| 14 NUM_SESSION_MODES); | 14 NUM_SESSION_MODES); |
| 15 } | 15 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 44 number_of_users); | 44 number_of_users); |
| 45 } | 45 } |
| 46 | 46 |
| 47 // static | 47 // static |
| 48 void MultiProfileUMA::RecordDiscardedTab(int number_of_users) { | 48 void MultiProfileUMA::RecordDiscardedTab(int number_of_users) { |
| 49 UMA_HISTOGRAM_COUNTS_100("MultiProfile.DiscardedTabsPerUser", | 49 UMA_HISTOGRAM_COUNTS_100("MultiProfile.DiscardedTabsPerUser", |
| 50 number_of_users); | 50 number_of_users); |
| 51 } | 51 } |
| 52 | 52 |
| 53 } // namespace ash | 53 } // namespace ash |
| OLD | NEW |