1 // Copyright 2014 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.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CONSTANTS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CONSTANTS_H_
12 extern const char kSupervisedUserTokenFilename
[];
14 extern const char kCryptohomeSupervisedUserKeyLabel
[];
15 extern const char kCryptohomeMasterKeyLabel
[];
16 extern const char kLegacyCryptohomeSupervisedUserKeyLabel
[];
17 extern const char kLegacyCryptohomeMasterKeyLabel
[];
19 // Set of privileges for usual Supervised User : Mount and UpdatePrivileged
20 // (update with signed key).
21 extern const int kCryptohomeSupervisedUserKeyPrivileges
;
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
;
29 } // namespace chromeos
31 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CONSTANTS_H_