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

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

Issue 2507073002: Split ArcSessionManager from ArcAuthService. (Closed)
Patch Set: Fix rebase mistake Created 4 years, 1 month 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // ARC instance did not report sign in status within a reasonable amount of 78 // ARC instance did not report sign in status within a reasonable amount of
79 // time. 79 // time.
80 OVERALL_SIGN_IN_TIMEOUT = 17, 80 OVERALL_SIGN_IN_TIMEOUT = 17,
81 81
82 // In Chrome, server communication error occurs. 82 // In Chrome, server communication error occurs.
83 // For backward compatibility, the UMA is handled differently. Please see 83 // For backward compatibility, the UMA is handled differently. Please see
84 // ArcAuthService::OnProvisioningFinished for details. 84 // ArcSessionManager::OnProvisioningFinished for details.
85 CHROME_SERVER_COMMUNICATION_ERROR = 18, 85 CHROME_SERVER_COMMUNICATION_ERROR = 18,
86 86
87 // The size of this enum; keep last. 87 // The size of this enum; keep last.
88 SIZE, 88 SIZE,
89 }; 89 };
90 90
91 void UpdateOptInActionUMA(OptInActionType type); 91 void UpdateOptInActionUMA(OptInActionType type);
92 void UpdateOptInCancelUMA(OptInCancelReason reason); 92 void UpdateOptInCancelUMA(OptInCancelReason reason);
93 void UpdateEnabledStateUMA(bool enabled); 93 void UpdateEnabledStateUMA(bool enabled);
94 void UpdateProvisioningResultUMA(ProvisioningResult result, bool managed); 94 void UpdateProvisioningResultUMA(ProvisioningResult result, bool managed);
95 void UpdateProvisioningTiming(const base::TimeDelta& elapsed_time, 95 void UpdateProvisioningTiming(const base::TimeDelta& elapsed_time,
96 bool success, 96 bool success,
97 bool managed); 97 bool managed);
98 98
99 } // namespace arc 99 } // namespace arc
100 100
101 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_ 101 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/arc_auth_service_unittest.cc ('k') | chrome/browser/chromeos/arc/arc_service_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698