| 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/multi_profile_uma.h" | 5 #include "ash/multi_profile_uma.h" |
| 6 | 6 |
| 7 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
| 8 | 8 |
| 9 namespace ash { | 9 namespace ash { |
| 10 | 10 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 // static | 39 // static |
| 40 void MultiProfileUMA::RecordTeleportAction(TeleportWindowAction action) { | 40 void MultiProfileUMA::RecordTeleportAction(TeleportWindowAction action) { |
| 41 UMA_HISTOGRAM_ENUMERATION("MultiProfile.TeleportWindow", | 41 UMA_HISTOGRAM_ENUMERATION("MultiProfile.TeleportWindow", |
| 42 action, | 42 action, |
| 43 NUM_TELEPORT_WINDOW_ACTIONS); | 43 NUM_TELEPORT_WINDOW_ACTIONS); |
| 44 } | 44 } |
| 45 | 45 |
| 46 // static | 46 // static |
| 47 void MultiProfileUMA::RecordUserCount(int number_of_users) { | 47 void MultiProfileUMA::RecordUserCount(int number_of_users) { |
| 48 UMA_HISTOGRAM_COUNTS_100("MultiProfile.UsersPerSession", number_of_users); | 48 UMA_HISTOGRAM_COUNTS_100("MultiProfile.UsersPerSessionIncremental", |
| 49 number_of_users); |
| 49 } | 50 } |
| 50 | 51 |
| 51 // static | 52 // static |
| 52 void MultiProfileUMA::RecordDiscardedTab(int number_of_users) { | 53 void MultiProfileUMA::RecordDiscardedTab(int number_of_users) { |
| 53 UMA_HISTOGRAM_COUNTS_100("MultiProfile.DiscardedTabsPerUser", | 54 UMA_HISTOGRAM_COUNTS_100("MultiProfile.DiscardedTabsPerUser", |
| 54 number_of_users); | 55 number_of_users); |
| 55 } | 56 } |
| 56 | 57 |
| 57 } // namespace ash | 58 } // namespace ash |
| OLD | NEW |