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 CHROME_BROWSER_POLICY_ENTERPRISE_METRICS_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_ENTERPRISE_METRICS_H_ |
6 #define CHROME_BROWSER_POLICY_ENTERPRISE_METRICS_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_ENTERPRISE_METRICS_H_ |
7 | 7 |
8 namespace policy { | 8 namespace policy { |
9 | 9 |
10 // Metrics collected for enterprise events. | 10 // Metrics collected for enterprise events. |
11 | 11 |
12 // Events related to fetching, saving and loading DM server tokens. | 12 // Events related to fetching, saving and loading DM server tokens. |
13 // These metrics are collected both for device and user tokens. | 13 // These metrics are collected both for device and user tokens. |
14 enum MetricToken { | 14 enum MetricToken { |
15 // A cached token was successfully loaded from disk. | 15 // A cached token was successfully loaded from disk. |
16 kMetricTokenLoadSucceeded, | 16 kMetricTokenLoadSucceeded, |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 158 |
159 // Names for the UMA counters. They are shared from here since the events | 159 // Names for the UMA counters. They are shared from here since the events |
160 // from the same enum above can be triggered in different files, and must use | 160 // from the same enum above can be triggered in different files, and must use |
161 // the same UMA histogram name. | 161 // the same UMA histogram name. |
162 extern const char* kMetricToken; | 162 extern const char* kMetricToken; |
163 extern const char* kMetricPolicy; | 163 extern const char* kMetricPolicy; |
164 extern const char* kMetricEnrollment; | 164 extern const char* kMetricEnrollment; |
165 | 165 |
166 } // namespace policy | 166 } // namespace policy |
167 | 167 |
168 #endif // CHROME_BROWSER_POLICY_ENTERPRISE_METRICS_H_ | 168 #endif // CHROME_BROWSER_POLICY_CLOUD_ENTERPRISE_METRICS_H_ |
OLD | NEW |