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

Unified Diff: components/policy/core/common/cloud/enterprise_metrics.h

Issue 471543002: Add more detailed UMA reporting on enrollment errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
Index: components/policy/core/common/cloud/enterprise_metrics.h
diff --git a/components/policy/core/common/cloud/enterprise_metrics.h b/components/policy/core/common/cloud/enterprise_metrics.h
index 27ad36d85d669ddd8899e4718127bbfd1b79b915..119813fc8d0072eb9ff390443aa0f5527aae3fb1 100644
--- a/components/policy/core/common/cloud/enterprise_metrics.h
+++ b/components/policy/core/common/cloud/enterprise_metrics.h
@@ -185,6 +185,14 @@ enum MetricEnrollment {
kMetricEnrollmentRetried = 25,
// Enrollment failed because DM token and device ID couldn't be stored.
kMetricEnrollmentStoreTokenAndIdFailed = 26,
+ // Enrollment failed because FRE state keys couldn't be obtained.
+ kMetricEnrollmentNoStateKeys = 27,
+ // Enrollment failed because policy couldn't be validated.
+ kMetricEnrollmentPolicyValidationFailed = 28,
+ // Enrollment failed because of error in CloudPolicyStore.
+ kMetricEnrollmentCloudPolicyStoreError = 29,
+ // Enrollment failed because device couldn't be locked.
+ kMetricEnrollmentLockBackendError = 30,
kMetricEnrollmentSize // Must be the last.
};
« no previous file with comments | « chrome/browser/chromeos/login/enrollment/enrollment_screen.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698