OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CONSTANTS_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CONSTANTS_H_ | |
7 | |
8 #include <string> | |
9 | |
10 namespace chromeos { | |
11 | |
12 extern const char kSupervisedUserTokenFilename[]; | |
13 | |
14 extern const char kCryptohomeSupervisedUserKeyLabel[]; | |
15 extern const char kCryptohomeMasterKeyLabel[]; | |
16 extern const char kLegacyCryptohomeSupervisedUserKeyLabel[]; | |
17 extern const char kLegacyCryptohomeMasterKeyLabel[]; | |
18 | |
19 // Set of privileges for usual Supervised User : Mount and UpdatePrivileged | |
20 // (update with signed key). | |
21 extern const int kCryptohomeSupervisedUserKeyPrivileges; | |
22 | |
23 // Set of privileges for corner case when pre-M35 managed user got new password. | |
24 // As we don't have signature yet, Migrate is used instead of UpdatePrivileged. | |
25 // Privileges are reset to kCryptohomeSupervisedUserKeyPrivileges as soon as | |
26 // manager signs in on the machine. | |
27 extern const int kCryptohomeSupervisedUserIncompleteKeyPrivileges; | |
28 | |
29 } // namespace chromeos | |
30 | |
31 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CONSTANTS_
H_ | |
OLD | NEW |