| OLD | NEW |
| 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 POLICY_INVALIDATION_TYPE_SIZE // Must be the last. | 232 POLICY_INVALIDATION_TYPE_SIZE // Must be the last. |
| 233 }; | 233 }; |
| 234 | 234 |
| 235 // Names for the UMA counters. They are shared from here since the events | 235 // Names for the UMA counters. They are shared from here since the events |
| 236 // from the same enum above can be triggered in different files, and must use | 236 // from the same enum above can be triggered in different files, and must use |
| 237 // the same UMA histogram name. | 237 // the same UMA histogram name. |
| 238 POLICY_EXPORT extern const char kMetricToken[]; | 238 POLICY_EXPORT extern const char kMetricToken[]; |
| 239 POLICY_EXPORT extern const char kMetricPolicy[]; | 239 POLICY_EXPORT extern const char kMetricPolicy[]; |
| 240 POLICY_EXPORT extern const char kMetricEnrollment[]; | 240 POLICY_EXPORT extern const char kMetricEnrollment[]; |
| 241 POLICY_EXPORT extern const char kMetricEnrollmentRecovery[]; | 241 POLICY_EXPORT extern const char kMetricEnrollmentRecovery[]; |
| 242 POLICY_EXPORT extern const char kMetricPolicyRefresh[]; | 242 POLICY_EXPORT extern const char kMetricUserPolicyRefresh[]; |
| 243 POLICY_EXPORT extern const char kMetricPolicyInvalidations[]; | 243 POLICY_EXPORT extern const char kMetricUserPolicyInvalidations[]; |
| 244 POLICY_EXPORT extern const char kMetricDevicePolicyRefresh[]; |
| 245 POLICY_EXPORT extern const char kMetricDevicePolicyInvalidations[]; |
| 244 | 246 |
| 245 } // namespace policy | 247 } // namespace policy |
| 246 | 248 |
| 247 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_ENTERPRISE_METRICS_H_ | 249 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_ENTERPRISE_METRICS_H_ |
| OLD | NEW |