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

Side by Side Diff: components/policy/core/common/cloud/enterprise_metrics.h

Issue 2544773002: Fetch policy from Active Directory at the end of enrollment (Closed)
Patch Set: Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 COMPONENTS_POLICY_CORE_COMMON_CLOUD_ENTERPRISE_METRICS_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_ENTERPRISE_METRICS_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_ENTERPRISE_METRICS_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_ENTERPRISE_METRICS_H_
7 7
8 #include "components/policy/policy_export.h" 8 #include "components/policy/policy_export.h"
9 9
10 namespace policy { 10 namespace policy {
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 // Failed to update device attributes. 219 // Failed to update device attributes.
220 kMetricEnrollmentAttributeUpdateFailed = 50, 220 kMetricEnrollmentAttributeUpdateFailed = 50,
221 // Enrollment mode does not match already locked install attributes. 221 // Enrollment mode does not match already locked install attributes.
222 kMetricEnrollmentLockModeMismatch = 51, 222 kMetricEnrollmentLockModeMismatch = 51,
223 // A registration certificate could not be fetched from the PCA. 223 // A registration certificate could not be fetched from the PCA.
224 kMetricEnrollmentRegistrationCertificateFetchFailed = 52, 224 kMetricEnrollmentRegistrationCertificateFetchFailed = 52,
225 // The request to enroll could not be signed. 225 // The request to enroll could not be signed.
226 kMetricEnrollmentRegisterCannotSignRequest = 53, 226 kMetricEnrollmentRegisterCannotSignRequest = 53,
227 // Device model or serial number missing from VPD. 227 // Device model or serial number missing from VPD.
228 kMetricEnrollmentNoDeviceIdentification = 54, 228 kMetricEnrollmentNoDeviceIdentification = 54,
229 // Active Directory policy fetch failed.
230 kMetricEnrollmentActiveDirectoryPolicyFetchFailed = 55,
229 }; 231 };
230 232
231 // Events related to policy refresh. 233 // Events related to policy refresh.
232 // This enum is used to define the buckets for an enumerated UMA histogram. 234 // This enum is used to define the buckets for an enumerated UMA histogram.
233 // Hence, 235 // Hence,
234 // (a) existing enumerated constants should never be deleted or reordered, and 236 // (a) existing enumerated constants should never be deleted or reordered, and
235 // (b) new constants should only be appended at the end of the enumeration. 237 // (b) new constants should only be appended at the end of the enumeration.
236 enum MetricPolicyRefresh { 238 enum MetricPolicyRefresh {
237 // A refresh occurred while the policy was not invalidated and the policy was 239 // A refresh occurred while the policy was not invalidated and the policy was
238 // changed. Invalidations were enabled. 240 // changed. Invalidations were enabled.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 POLICY_EXPORT extern const char kMetricToken[]; 279 POLICY_EXPORT extern const char kMetricToken[];
278 POLICY_EXPORT extern const char kMetricPolicy[]; 280 POLICY_EXPORT extern const char kMetricPolicy[];
279 POLICY_EXPORT extern const char kMetricUserPolicyRefresh[]; 281 POLICY_EXPORT extern const char kMetricUserPolicyRefresh[];
280 POLICY_EXPORT extern const char kMetricUserPolicyInvalidations[]; 282 POLICY_EXPORT extern const char kMetricUserPolicyInvalidations[];
281 POLICY_EXPORT extern const char kMetricDevicePolicyRefresh[]; 283 POLICY_EXPORT extern const char kMetricDevicePolicyRefresh[];
282 POLICY_EXPORT extern const char kMetricDevicePolicyInvalidations[]; 284 POLICY_EXPORT extern const char kMetricDevicePolicyInvalidations[];
283 285
284 } // namespace policy 286 } // namespace policy
285 287
286 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_ENTERPRISE_METRICS_H_ 288 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_ENTERPRISE_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698