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

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

Issue 10664017: Introduce a new error code from the DM server - 402 - missing licenses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/serials/licenses// Created 8 years, 5 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_CLOUD_POLICY_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_POLICY_CONSTANTS_H_
6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_CONSTANTS_H_ 6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_CONSTANTS_H_
7 #pragma once 7 #pragma once
8 8
9 namespace policy { 9 namespace policy {
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Service error: Device not found. 70 // Service error: Device not found.
71 DM_STATUS_SERVICE_DEVICE_NOT_FOUND, 71 DM_STATUS_SERVICE_DEVICE_NOT_FOUND,
72 // Service error: Device token invalid. 72 // Service error: Device token invalid.
73 DM_STATUS_SERVICE_MANAGEMENT_TOKEN_INVALID, 73 DM_STATUS_SERVICE_MANAGEMENT_TOKEN_INVALID,
74 // Service error: Activation pending. 74 // Service error: Activation pending.
75 DM_STATUS_SERVICE_ACTIVATION_PENDING, 75 DM_STATUS_SERVICE_ACTIVATION_PENDING,
76 // Service error: The serial number is not valid or not known to the server. 76 // Service error: The serial number is not valid or not known to the server.
77 DM_STATUS_SERVICE_INVALID_SERIAL_NUMBER, 77 DM_STATUS_SERVICE_INVALID_SERIAL_NUMBER,
78 // Service error: The device id used for registration is already taken. 78 // Service error: The device id used for registration is already taken.
79 DM_STATUS_SERVICE_DEVICE_ID_CONFLICT, 79 DM_STATUS_SERVICE_DEVICE_ID_CONFLICT,
80 // Service error: The licenses have expired or have been exhausted.
81 DM_STATUS_MISSING_LICENSES,
80 // Service error: Policy not found. Error code defined by the DM folks. 82 // Service error: Policy not found. Error code defined by the DM folks.
81 DM_STATUS_SERVICE_POLICY_NOT_FOUND = 902, 83 DM_STATUS_SERVICE_POLICY_NOT_FOUND = 902,
82 }; 84 };
83 85
84 // List of modes that the device can be locked into. 86 // List of modes that the device can be locked into.
85 enum DeviceMode { 87 enum DeviceMode {
86 DEVICE_MODE_PENDING, // The device mode is not yet available. 88 DEVICE_MODE_PENDING, // The device mode is not yet available.
87 DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned. 89 DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned.
88 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer device. 90 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer device.
89 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise device. 91 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise device.
90 DEVICE_MODE_KIOSK, // The device is enrolled as kiosk/retail device. 92 DEVICE_MODE_KIOSK, // The device is enrolled as kiosk/retail device.
91 }; 93 };
92 94
93 } // namespace policy 95 } // namespace policy
94 96
95 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_CONSTANTS_H_ 97 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698