OLD | NEW |
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_CLOUD_POLICY_CONSTANTS_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise | 98 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise |
99 // device. | 99 // device. |
100 DEVICE_MODE_RETAIL_KIOSK, // The device is enrolled as retail kiosk device. | 100 DEVICE_MODE_RETAIL_KIOSK, // The device is enrolled as retail kiosk device. |
101 DEVICE_MODE_CONSUMER_KIOSK, // The device is locally owned as consumer kiosk. | 101 DEVICE_MODE_CONSUMER_KIOSK, // The device is locally owned as consumer kiosk. |
102 }; | 102 }; |
103 | 103 |
104 // A pair that combines a policy fetch type and entity ID. | 104 // A pair that combines a policy fetch type and entity ID. |
105 typedef std::pair<std::string, std::string> PolicyNamespaceKey; | 105 typedef std::pair<std::string, std::string> PolicyNamespaceKey; |
106 | 106 |
107 // Returns the Chrome user policy type to use. This allows overridding the | 107 // Returns the Chrome user policy type to use. This allows overridding the |
108 // default user policy type on Android for testing purposes. | 108 // default user policy type on Android and iOS for testing purposes. |
109 // TODO(joaodasilva): remove this once the server is ready. | 109 // TODO(joaodasilva): remove this once the server is ready. |
110 // http://crbug.com/248527 | 110 // http://crbug.com/248527 |
111 const char* GetChromeUserPolicyType(); | 111 const char* GetChromeUserPolicyType(); |
112 | 112 |
113 } // namespace policy | 113 } // namespace policy |
114 | 114 |
115 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ | 115 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
OLD | NEW |