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_ENTERPRISE_METRICS_H_ |
6 #define CHROME_BROWSER_POLICY_ENTERPRISE_METRICS_H_ | 6 #define CHROME_BROWSER_POLICY_ENTERPRISE_METRICS_H_ |
7 #pragma once | |
8 | 7 |
9 namespace policy { | 8 namespace policy { |
10 | 9 |
11 // Metrics collected for enterprise events. | 10 // Metrics collected for enterprise events. |
12 | 11 |
13 // Events related to fetching, saving and loading DM server tokens. | 12 // Events related to fetching, saving and loading DM server tokens. |
14 // These metrics are collected both for device and user tokens. | 13 // These metrics are collected both for device and user tokens. |
15 enum MetricToken { | 14 enum MetricToken { |
16 // A cached token was successfully loaded from disk. | 15 // A cached token was successfully loaded from disk. |
17 kMetricTokenLoadSucceeded, | 16 kMetricTokenLoadSucceeded, |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 // 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 |
161 // 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 |
162 // the same UMA histogram name. | 161 // the same UMA histogram name. |
163 extern const char* kMetricToken; | 162 extern const char* kMetricToken; |
164 extern const char* kMetricPolicy; | 163 extern const char* kMetricPolicy; |
165 extern const char* kMetricEnrollment; | 164 extern const char* kMetricEnrollment; |
166 | 165 |
167 } // namespace policy | 166 } // namespace policy |
168 | 167 |
169 #endif // CHROME_BROWSER_POLICY_ENTERPRISE_METRICS_H_ | 168 #endif // CHROME_BROWSER_POLICY_ENTERPRISE_METRICS_H_ |
OLD | NEW |