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

Side by Side Diff: chrome/browser/policy/cloud/enterprise_metrics.h

Issue 12189011: Split up chrome/browser/policy subdirectory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, add chrome/browser/chromeos/policy/OWNERS Created 7 years, 9 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 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
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_
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud/device_management_service_unittest.cc ('k') | chrome/browser/policy/cloud/enterprise_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698