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

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

Issue 2700783002: s/\bArc\b/ARC/g for ARC related code. (Closed)
Patch Set: Address ARC++ Created 3 years, 10 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 #include <ostream> 8 #include <ostream>
9 9
10 namespace base { 10 namespace base {
11 class TimeDelta; 11 class TimeDelta;
12 } 12 }
13 13
14 namespace arc { 14 namespace arc {
15 15
16 // These enums are used to define the buckets for an enumerated UMA histogram 16 // These enums are used to define the buckets for an enumerated UMA histogram
17 // and need to be synced with histograms.xml 17 // and need to be synced with histograms.xml
18 enum class OptInActionType : int { 18 enum class OptInActionType : int {
19 OPTED_OUT = 0, // Arc was opted out by user. 19 OPTED_OUT = 0, // ARC was opted out by user.
20 OPTED_IN = 1, // Arc was opted in by user. 20 OPTED_IN = 1, // ARC was opted in by user.
21 NOTIFICATION_ACCEPTED = 2, // Arc OptIn notification was accepted. 21 NOTIFICATION_ACCEPTED = 2, // ARC OptIn notification was accepted.
22 NOTIFICATION_DECLINED = 3, // Arc OptIn notification was declined. 22 NOTIFICATION_DECLINED = 3, // ARC OptIn notification was declined.
23 NOTIFICATION_TIMED_OUT = 4, // Arc OptIn notification was timed out. 23 NOTIFICATION_TIMED_OUT = 4, // ARC OptIn notification was timed out.
24 RETRY = 5, // User asked to retry OptIn. 24 RETRY = 5, // User asked to retry OptIn.
25 SIZE, // The size of this enum; keep last. 25 SIZE, // The size of this enum; keep last.
26 }; 26 };
27 27
28 enum class OptInCancelReason { 28 enum class OptInCancelReason {
29 USER_CANCEL = 0, // Canceled by user. 29 USER_CANCEL = 0, // Canceled by user.
30 UNKNOWN_ERROR = 1, // Unclassified failure. 30 UNKNOWN_ERROR = 1, // Unclassified failure.
31 NETWORK_ERROR = 2, // Network failure. 31 NETWORK_ERROR = 2, // Network failure.
32 SERVICE_UNAVAILABLE = 3, // GMS Services are not available. 32 SERVICE_UNAVAILABLE = 3, // GMS Services are not available.
33 DEPRECATED_BAD_AUTHENTICATION = 4, 33 DEPRECATED_BAD_AUTHENTICATION = 4,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 bool success, 121 bool success,
122 bool managed); 122 bool managed);
123 void UpdateSilentAuthCodeUMA(OptInSilentAuthCode state); 123 void UpdateSilentAuthCodeUMA(OptInSilentAuthCode state);
124 124
125 // Outputs the stringified |result| to |os|. This is only for logging purposes. 125 // Outputs the stringified |result| to |os|. This is only for logging purposes.
126 std::ostream& operator<<(std::ostream& os, const ProvisioningResult& result); 126 std::ostream& operator<<(std::ostream& os, const ProvisioningResult& result);
127 127
128 } // namespace arc 128 } // namespace arc
129 129
130 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_ 130 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/arc_auth_notification.h ('k') | chrome/browser/chromeos/arc/arc_session_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698