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

Side by Side Diff: components/policy/core/common/cloud/cloud_policy_constants.h

Issue 130613004: Enabled consumer kiosk mode for all. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 // List of modes that the device can be locked into. 96 // List of modes that the device can be locked into.
97 enum DeviceMode { 97 enum DeviceMode {
98 DEVICE_MODE_PENDING, // The device mode is not yet available. 98 DEVICE_MODE_PENDING, // The device mode is not yet available.
99 DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned. 99 DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned.
100 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer 100 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer
101 // device. 101 // device.
102 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise 102 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise
103 // device. 103 // device.
104 DEVICE_MODE_RETAIL_KIOSK, // The device is enrolled as retail kiosk device. 104 DEVICE_MODE_RETAIL_KIOSK, // The device is enrolled as retail kiosk device.
105 DEVICE_MODE_CONSUMER_KIOSK, // The device is locally owned as consumer kiosk. 105 DEVICE_MODE_CONSUMER_KIOSK, // The device is locally owned as consumer kiosk
106 // with ability to auto launch a webapp.
106 }; 107 };
107 108
108 // A pair that combines a policy fetch type and entity ID. 109 // A pair that combines a policy fetch type and entity ID.
109 typedef std::pair<std::string, std::string> PolicyNamespaceKey; 110 typedef std::pair<std::string, std::string> PolicyNamespaceKey;
110 111
111 // Returns the Chrome user policy type to use. This allows overridding the 112 // Returns the Chrome user policy type to use. This allows overridding the
112 // default user policy type on Android and iOS for testing purposes. 113 // default user policy type on Android and iOS for testing purposes.
113 // TODO(joaodasilva): remove this once the server is ready. 114 // TODO(joaodasilva): remove this once the server is ready.
114 // http://crbug.com/248527 115 // http://crbug.com/248527
115 POLICY_EXPORT const char* GetChromeUserPolicyType(); 116 POLICY_EXPORT const char* GetChromeUserPolicyType();
116 117
117 } // namespace policy 118 } // namespace policy
118 119
119 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 120 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698