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_POLICY_CONSTANTS_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
6 #define CHROME_BROWSER_POLICY_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 |
11 namespace policy { | 11 namespace policy { |
12 | 12 |
13 // Constants related to the device management protocol. | 13 // Constants related to the device management protocol. |
14 namespace dm_protocol { | 14 namespace dm_protocol { |
15 | 15 |
16 // Name extern constants for URL query parameters. | 16 // Name extern constants for URL query parameters. |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer device. | 94 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer device. |
95 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise device. | 95 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise device. |
96 DEVICE_MODE_KIOSK, // The device is enrolled as kiosk/retail device. | 96 DEVICE_MODE_KIOSK, // The device is enrolled as kiosk/retail device. |
97 }; | 97 }; |
98 | 98 |
99 // A pair that combines a policy fetch type and entity ID. | 99 // A pair that combines a policy fetch type and entity ID. |
100 typedef std::pair<std::string, std::string> PolicyNamespaceKey; | 100 typedef std::pair<std::string, std::string> PolicyNamespaceKey; |
101 | 101 |
102 } // namespace policy | 102 } // namespace policy |
103 | 103 |
104 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_CONSTANTS_H_ | 104 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
OLD | NEW |