| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 FRIEND_TEST_ALL_PREFIXES(EnterpriseInstallAttributesTest, | 108 FRIEND_TEST_ALL_PREFIXES(EnterpriseInstallAttributesTest, |
| 109 ReadCacheFile); | 109 ReadCacheFile); |
| 110 FRIEND_TEST_ALL_PREFIXES(EnterpriseInstallAttributesTest, | 110 FRIEND_TEST_ALL_PREFIXES(EnterpriseInstallAttributesTest, |
| 111 ReadCacheFileForConsumerKiosk); | 111 ReadCacheFileForConsumerKiosk); |
| 112 FRIEND_TEST_ALL_PREFIXES(EnterpriseInstallAttributesTest, | 112 FRIEND_TEST_ALL_PREFIXES(EnterpriseInstallAttributesTest, |
| 113 VerifyFakeInstallAttributesCache); | 113 VerifyFakeInstallAttributesCache); |
| 114 | 114 |
| 115 // Constants for the possible device modes that can be stored in the lockbox. | 115 // Constants for the possible device modes that can be stored in the lockbox. |
| 116 static const char kConsumerDeviceMode[]; | 116 static const char kConsumerDeviceMode[]; |
| 117 static const char kEnterpriseDeviceMode[]; | 117 static const char kEnterpriseDeviceMode[]; |
| 118 static const char kRetailKioskDeviceMode[]; | 118 static const char kLegacyRetailDeviceMode[]; |
| 119 static const char kConsumerKioskDeviceMode[]; | 119 static const char kConsumerKioskDeviceMode[]; |
| 120 static const char kUnknownDeviceMode[]; | 120 static const char kUnknownDeviceMode[]; |
| 121 | 121 |
| 122 // Field names in the lockbox. | 122 // Field names in the lockbox. |
| 123 static const char kAttrEnterpriseDeviceId[]; | 123 static const char kAttrEnterpriseDeviceId[]; |
| 124 static const char kAttrEnterpriseDomain[]; | 124 static const char kAttrEnterpriseDomain[]; |
| 125 static const char kAttrEnterpriseMode[]; | 125 static const char kAttrEnterpriseMode[]; |
| 126 static const char kAttrEnterpriseOwned[]; | 126 static const char kAttrEnterpriseOwned[]; |
| 127 static const char kAttrEnterpriseUser[]; | 127 static const char kAttrEnterpriseUser[]; |
| 128 static const char kAttrConsumerKioskEnabled[]; | 128 static const char kAttrConsumerKioskEnabled[]; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 chromeos::CryptohomeClient* cryptohome_client_; | 160 chromeos::CryptohomeClient* cryptohome_client_; |
| 161 | 161 |
| 162 base::WeakPtrFactory<EnterpriseInstallAttributes> weak_ptr_factory_; | 162 base::WeakPtrFactory<EnterpriseInstallAttributes> weak_ptr_factory_; |
| 163 | 163 |
| 164 DISALLOW_COPY_AND_ASSIGN(EnterpriseInstallAttributes); | 164 DISALLOW_COPY_AND_ASSIGN(EnterpriseInstallAttributes); |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 } // namespace policy | 167 } // namespace policy |
| 168 | 168 |
| 169 #endif // CHROME_BROWSER_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_ | 169 #endif // CHROME_BROWSER_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_ |
| OLD | NEW |