| 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_COMMON_MULTI_PROFILE_UMA_H_ | 5 #ifndef ASH_MULTI_PROFILE_UMA_H_ |
| 6 #define ASH_COMMON_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/macros.h" | 9 #include "base/macros.h" |
| 10 | 10 |
| 11 namespace ash { | 11 namespace ash { |
| 12 | 12 |
| 13 // Records UMA statistics for multiprofile actions. | 13 // Records UMA statistics for multiprofile actions. |
| 14 // Note: There is also an action to switch profile windows from the | 14 // Note: There is also an action to switch profile windows from the |
| 15 // browser frame that is recorded by the "Profile.OpenMethod" metric. | 15 // browser frame that is recorded by the "Profile.OpenMethod" metric. |
| 16 class ASH_EXPORT MultiProfileUMA { | 16 class ASH_EXPORT MultiProfileUMA { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 // Record a discarded tab in the number of running users bucket. | 76 // Record a discarded tab in the number of running users bucket. |
| 77 static void RecordDiscardedTab(int number_of_users); | 77 static void RecordDiscardedTab(int number_of_users); |
| 78 | 78 |
| 79 private: | 79 private: |
| 80 DISALLOW_IMPLICIT_CONSTRUCTORS(MultiProfileUMA); | 80 DISALLOW_IMPLICIT_CONSTRUCTORS(MultiProfileUMA); |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 } // namespace ash | 83 } // namespace ash |
| 84 | 84 |
| 85 #endif // ASH_COMMON_MULTI_PROFILE_UMA_H_ | 85 #endif // ASH_MULTI_PROFILE_UMA_H_ |
| OLD | NEW |