Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Side by Side Diff: chrome/browser/chromeos/arc/arc_optin_uma.h

Issue 2323043003: arc: Add a global 5 minute timeout for ARC opt-in (Closed)
Patch Set: Added a new enum value for timeout Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 GMS_SIGN_IN_TIMEOUT = 12, 68 GMS_SIGN_IN_TIMEOUT = 12,
69 GMS_SIGN_IN_INTERNAL_ERROR = 13, 69 GMS_SIGN_IN_INTERNAL_ERROR = 13,
70 70
71 // Cloud provision error: 71 // Cloud provision error:
72 CLOUD_PROVISION_FLOW_TIMEOUT = 14, 72 CLOUD_PROVISION_FLOW_TIMEOUT = 14,
73 CLOUD_PROVISION_FLOW_INTERNAL_ERROR = 15, 73 CLOUD_PROVISION_FLOW_INTERNAL_ERROR = 15,
74 74
75 // ARC instance is stopped during the sign in procedure. 75 // ARC instance is stopped during the sign in procedure.
76 ARC_STOPPED = 16, 76 ARC_STOPPED = 16,
77 77
78 // Overall sign in timeout.
79 OVERALL_SIGN_IN_TIMEOUT = 17,
hidehiko 2016/09/09 02:31:48 Could you add an entry to tools/metrics/histograms
Luis Héctor Chávez 2016/09/09 03:16:59 Ah couldn't find this string in that file so I tho
80
78 // The size of this enum; keep last. 81 // The size of this enum; keep last.
79 SIZE, 82 SIZE,
80 }; 83 };
81 84
82 void UpdateOptInActionUMA(OptInActionType type); 85 void UpdateOptInActionUMA(OptInActionType type);
83 void UpdateOptInCancelUMA(OptInCancelReason reason); 86 void UpdateOptInCancelUMA(OptInCancelReason reason);
84 void UpdateEnabledStateUMA(bool enabled); 87 void UpdateEnabledStateUMA(bool enabled);
85 void UpdateProvisioningResultUMA(ProvisioningResult result); 88 void UpdateProvisioningResultUMA(ProvisioningResult result);
86 void UpdateProvisioningTiming(const base::TimeDelta& elapsed_time, 89 void UpdateProvisioningTiming(const base::TimeDelta& elapsed_time,
87 bool success, 90 bool success,
88 bool managed); 91 bool managed);
89 92
90 } // namespace arc 93 } // namespace arc
91 94
92 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_ 95 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698