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

Unified Diff: components/policy/core/common/policy_load_status.h

Issue 375903002: Fix EnterpriseDeviceManagementStatus UMA enum, add comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cosmetics. Created 6 years, 5 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/policy_load_status.h
diff --git a/components/policy/core/common/policy_load_status.h b/components/policy/core/common/policy_load_status.h
index 5f4d017536acc08e65e60c85e6d181748729d706..d22673b088934d32d3bf53dfb1b255e0d20b05c7 100644
--- a/components/policy/core/common/policy_load_status.h
+++ b/components/policy/core/common/policy_load_status.h
@@ -22,23 +22,23 @@ enum PolicyLoadStatus {
// Policy load attempt started. This gets logged for each policy load attempt
// to get a baseline on the number of requests, and an arbitrary number of
// the below status codes may get added in addition.
- POLICY_LOAD_STATUS_STARTED,
+ POLICY_LOAD_STATUS_STARTED = 0,
// System failed to determine whether there's policy.
- POLICY_LOAD_STATUS_QUERY_FAILED,
+ POLICY_LOAD_STATUS_QUERY_FAILED = 1,
// No policy present.
- POLICY_LOAD_STATUS_NO_POLICY,
+ POLICY_LOAD_STATUS_NO_POLICY = 2,
// Data inaccessible, such as non-local policy file.
- POLICY_LOAD_STATUS_INACCCESSIBLE,
+ POLICY_LOAD_STATUS_INACCCESSIBLE = 3,
// Data missing, such as policy file not present.
- POLICY_LOAD_STATUS_MISSING,
+ POLICY_LOAD_STATUS_MISSING = 4,
// Trying with Wow64 redirection disabled.
- POLICY_LOAD_STATUS_WOW64_REDIRECTION_DISABLED,
+ POLICY_LOAD_STATUS_WOW64_REDIRECTION_DISABLED = 5,
// Data read error, for example file reading errors.
- POLICY_LOAD_STATUS_READ_ERROR,
+ POLICY_LOAD_STATUS_READ_ERROR = 6,
// Data too large to process.
- POLICY_LOAD_STATUS_TOO_BIG,
+ POLICY_LOAD_STATUS_TOO_BIG = 7,
// Parse error.
- POLICY_LOAD_STATUS_PARSE_ERROR,
+ POLICY_LOAD_STATUS_PARSE_ERROR = 8,
// This must stay last.
POLICY_LOAD_STATUS_SIZE
« no previous file with comments | « components/policy/core/common/cloud/enterprise_metrics.h ('k') | components/policy/core/common/policy_loader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698