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

Unified Diff: chromeos/login/auth/auth_status_consumer.h

Issue 2842083002: Report Login.SuccessReason in LoginPerformer (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromeos/login/auth/login_performer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/auth/auth_status_consumer.h
diff --git a/chromeos/login/auth/auth_status_consumer.h b/chromeos/login/auth/auth_status_consumer.h
index 0c1158b3c66a62c2a47d007f9494ba3065c4ee9e..29b0eebcab91d1a33d319afc60df1e37522371a7 100644
--- a/chromeos/login/auth/auth_status_consumer.h
+++ b/chromeos/login/auth/auth_status_consumer.h
@@ -105,6 +105,14 @@ class CHROMEOS_EXPORT AuthFailure {
GoogleServiceAuthError error_;
};
+// Enum used for UMA. Do NOT reorder or remove entry. Don't forget to
+// update histograms.xml when adding new entries.
+enum SuccessReason {
+ OFFLINE_AND_ONLINE = 0,
+ OFFLINE_ONLY = 1,
+ NUM_SUCCESS_REASONS, // This has to be the last item.
+};
+
// An interface that defines the callbacks for objects that the
// Authenticator class will call to report the success/failure of
// authentication for Chromium OS.
« no previous file with comments | « no previous file | chromeos/login/auth/login_performer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698