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

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

Issue 10443125: Allow re-enrollment to the same domain in case of policy data loss. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 8 years, 6 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_ENTERPRISE_METRICS_H_
6 #define CHROME_BROWSER_POLICY_ENTERPRISE_METRICS_H_ 6 #define CHROME_BROWSER_POLICY_ENTERPRISE_METRICS_H_
7 #pragma once 7 #pragma once
8 8
9 namespace policy { 9 namespace policy {
10 10
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 kMetricEnrollmentAutoOK, 137 kMetricEnrollmentAutoOK,
138 // Enrollment failed because the enrollment mode was not supplied by the 138 // Enrollment failed because the enrollment mode was not supplied by the
139 // DMServer or the mode is not known to the client. 139 // DMServer or the mode is not known to the client.
140 kMetricEnrollmentInvalidEnrollmentMode, 140 kMetricEnrollmentInvalidEnrollmentMode,
141 // Auto-enrollment is not supported for the mode supplied by the server. 141 // Auto-enrollment is not supported for the mode supplied by the server.
142 // This presently means trying to auto-enroll in kiosk mode. 142 // This presently means trying to auto-enroll in kiosk mode.
143 kMetricEnrollmentAutoEnrollmentNotSupported, 143 kMetricEnrollmentAutoEnrollmentNotSupported,
144 // The lockbox initialization has taken too long to complete and the 144 // The lockbox initialization has taken too long to complete and the
145 // enrollment has been canceled because of that. 145 // enrollment has been canceled because of that.
146 kMetricLockboxTimeoutError, 146 kMetricLockboxTimeoutError,
147 // The username used to re-enroll the device does not belong to the domain
148 // that the device was initially enrolled to.
149 kMetricEnrollmentWrongUserError,
147 150
148 kMetricEnrollmentSize // Must be the last. 151 kMetricEnrollmentSize // Must be the last.
149 }; 152 };
150 153
151 // Names for the UMA counters. They are shared from here since the events 154 // Names for the UMA counters. They are shared from here since the events
152 // from the same enum above can be triggered in different files, and must use 155 // from the same enum above can be triggered in different files, and must use
153 // the same UMA histogram name. 156 // the same UMA histogram name.
154 extern const char* kMetricToken; 157 extern const char* kMetricToken;
155 extern const char* kMetricPolicy; 158 extern const char* kMetricPolicy;
156 extern const char* kMetricEnrollment; 159 extern const char* kMetricEnrollment;
157 160
158 } // namespace policy 161 } // namespace policy
159 162
160 #endif // CHROME_BROWSER_POLICY_ENTERPRISE_METRICS_H_ 163 #endif // CHROME_BROWSER_POLICY_ENTERPRISE_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698