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

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, 10 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
« no previous file with comments | « chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 // List of modes that the device can be locked into. 101 // List of modes that the device can be locked into.
102 enum DeviceMode { 102 enum DeviceMode {
103 DEVICE_MODE_PENDING, // The device mode is not yet available. 103 DEVICE_MODE_PENDING, // The device mode is not yet available.
104 DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned. 104 DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned.
105 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer 105 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer
106 // device. 106 // device.
107 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise 107 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise
108 // device. 108 // device.
109 DEVICE_MODE_RETAIL_KIOSK, // The device is enrolled as retail kiosk device. 109 DEVICE_MODE_RETAIL_KIOSK, // The device is enrolled as retail kiosk device.
110 DEVICE_MODE_CONSUMER_KIOSK, // The device is locally owned as consumer kiosk. 110 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as
111 // consumer kiosk with ability to auto
112 // launch a kiosk webapp.
111 }; 113 };
112 114
113 // A pair that combines a policy fetch type and entity ID. 115 // A pair that combines a policy fetch type and entity ID.
114 typedef std::pair<std::string, std::string> PolicyNamespaceKey; 116 typedef std::pair<std::string, std::string> PolicyNamespaceKey;
115 117
116 // Returns the Chrome user policy type to use. This allows overridding the 118 // Returns the Chrome user policy type to use. This allows overridding the
117 // default user policy type on Android and iOS for testing purposes. 119 // default user policy type on Android and iOS for testing purposes.
118 // TODO(joaodasilva): remove this once the server is ready. 120 // TODO(joaodasilva): remove this once the server is ready.
119 // http://crbug.com/248527 121 // http://crbug.com/248527
120 POLICY_EXPORT const char* GetChromeUserPolicyType(); 122 POLICY_EXPORT const char* GetChromeUserPolicyType();
121 123
122 } // namespace policy 124 } // namespace policy
123 125
124 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 126 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698