| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_ |
| 7 | 7 |
| 8 namespace base { | 8 namespace base { |
| 9 class TimeDelta; | 9 class TimeDelta; |
| 10 } | 10 } |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 // time. | 79 // time. |
| 80 OVERALL_SIGN_IN_TIMEOUT = 17, | 80 OVERALL_SIGN_IN_TIMEOUT = 17, |
| 81 | 81 |
| 82 // The size of this enum; keep last. | 82 // The size of this enum; keep last. |
| 83 SIZE, | 83 SIZE, |
| 84 }; | 84 }; |
| 85 | 85 |
| 86 void UpdateOptInActionUMA(OptInActionType type); | 86 void UpdateOptInActionUMA(OptInActionType type); |
| 87 void UpdateOptInCancelUMA(OptInCancelReason reason); | 87 void UpdateOptInCancelUMA(OptInCancelReason reason); |
| 88 void UpdateEnabledStateUMA(bool enabled); | 88 void UpdateEnabledStateUMA(bool enabled); |
| 89 void UpdateProvisioningResultUMA(ProvisioningResult result); | 89 void UpdateProvisioningResultUMA(ProvisioningResult result, bool managed); |
| 90 void UpdateProvisioningTiming(const base::TimeDelta& elapsed_time, | 90 void UpdateProvisioningTiming(const base::TimeDelta& elapsed_time, |
| 91 bool success, | 91 bool success, |
| 92 bool managed); | 92 bool managed); |
| 93 | 93 |
| 94 } // namespace arc | 94 } // namespace arc |
| 95 | 95 |
| 96 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_ | 96 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_ |
| OLD | NEW |