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_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_ |
6 #define CHROME_BROWSER_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 LOCK_NOT_READY, | 30 LOCK_NOT_READY, |
31 LOCK_BACKEND_ERROR, | 31 LOCK_BACKEND_ERROR, |
32 LOCK_WRONG_USER, | 32 LOCK_WRONG_USER, |
33 }; | 33 }; |
34 | 34 |
35 // A callback to handle responses of methods returning a LockResult value. | 35 // A callback to handle responses of methods returning a LockResult value. |
36 typedef base::Callback<void(LockResult lock_result)> LockResultCallback; | 36 typedef base::Callback<void(LockResult lock_result)> LockResultCallback; |
37 | 37 |
38 // Constants for the possible device modes that can be stored in the lockbox. | 38 // Constants for the possible device modes that can be stored in the lockbox. |
39 static const char kConsumerDeviceMode[]; | 39 static const char kConsumerDeviceMode[]; |
40 static const char kEnterpiseDeviceMode[]; | 40 static const char kEnterpriseDeviceMode[]; |
41 static const char kRetailKioskDeviceMode[]; | 41 static const char kRetailKioskDeviceMode[]; |
42 static const char kConsumerKioskDeviceMode[]; | 42 static const char kConsumerKioskDeviceMode[]; |
43 static const char kUnknownDeviceMode[]; | 43 static const char kUnknownDeviceMode[]; |
44 | 44 |
45 // Field names in the lockbox. | 45 // Field names in the lockbox. |
46 static const char kAttrEnterpriseDeviceId[]; | 46 static const char kAttrEnterpriseDeviceId[]; |
47 static const char kAttrEnterpriseDomain[]; | 47 static const char kAttrEnterpriseDomain[]; |
48 static const char kAttrEnterpriseMode[]; | 48 static const char kAttrEnterpriseMode[]; |
49 static const char kAttrEnterpriseOwned[]; | 49 static const char kAttrEnterpriseOwned[]; |
50 static const char kAttrEnterpriseUser[]; | 50 static const char kAttrEnterpriseUser[]; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 chromeos::CryptohomeClient* cryptohome_client_; | 133 chromeos::CryptohomeClient* cryptohome_client_; |
134 | 134 |
135 base::WeakPtrFactory<EnterpriseInstallAttributes> weak_ptr_factory_; | 135 base::WeakPtrFactory<EnterpriseInstallAttributes> weak_ptr_factory_; |
136 | 136 |
137 DISALLOW_COPY_AND_ASSIGN(EnterpriseInstallAttributes); | 137 DISALLOW_COPY_AND_ASSIGN(EnterpriseInstallAttributes); |
138 }; | 138 }; |
139 | 139 |
140 } // namespace policy | 140 } // namespace policy |
141 | 141 |
142 #endif // CHROME_BROWSER_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_ | 142 #endif // CHROME_BROWSER_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_ |
OLD | NEW |