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

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

Issue 465433002: Separate UMA histograms for user and device policy invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 unified diff | Download patch | Annotate | Revision Log
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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698