| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_SUPERVISED_USER_SUPERVISED_USER_CONSTANTS_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_CONSTANTS_H_ |
| 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_CONSTANTS_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_CONSTANTS_H_ |
| 7 | 7 |
| 8 namespace user_manager { |
| 9 class UserID; |
| 10 } |
| 11 |
| 8 namespace supervised_users { | 12 namespace supervised_users { |
| 9 | 13 |
| 10 // Keys for supervised user settings. These are configured remotely and mapped | 14 // Keys for supervised user settings. These are configured remotely and mapped |
| 11 // to preferences by the SupervisedUserPrefStore. | 15 // to preferences by the SupervisedUserPrefStore. |
| 12 extern const char kCameraMicDisabled[]; | 16 extern const char kCameraMicDisabled[]; |
| 13 extern const char kContentPackDefaultFilteringBehavior[]; | 17 extern const char kContentPackDefaultFilteringBehavior[]; |
| 14 extern const char kContentPackManualBehaviorHosts[]; | 18 extern const char kContentPackManualBehaviorHosts[]; |
| 15 extern const char kContentPackManualBehaviorURLs[]; | 19 extern const char kContentPackManualBehaviorURLs[]; |
| 16 extern const char kForceSafeSearch[]; | 20 extern const char kForceSafeSearch[]; |
| 17 extern const char kGeolocationDisabled[]; | 21 extern const char kGeolocationDisabled[]; |
| 18 extern const char kRecordHistory[]; | 22 extern const char kRecordHistory[]; |
| 19 extern const char kSigninAllowed[]; | 23 extern const char kSigninAllowed[]; |
| 20 extern const char kUserName[]; | 24 extern const char kUserName[]; |
| 21 | 25 |
| 22 // A pseudo-email address for systems that expect well-formed email addresses | 26 // A pseudo-email address for systems that expect well-formed email addresses |
| 23 // (like Sync), even though we're not signed in. | 27 // (like Sync), even though we're not signed in. |
| 24 extern const char kSupervisedUserPseudoEmail[]; | 28 extern const char kSupervisedUserPseudoEmail[]; |
| 25 | 29 |
| 26 // A special supervised user ID used for child accounts. | |
| 27 extern const char kChildAccountSUID[]; | |
| 28 | |
| 29 // Keys for supervised user shared settings. These can be configured remotely or | 30 // Keys for supervised user shared settings. These can be configured remotely or |
| 30 // locally, and are mapped to preferences by the | 31 // locally, and are mapped to preferences by the |
| 31 // SupervisedUserPrefMappingService. | 32 // SupervisedUserPrefMappingService. |
| 32 extern const char kChromeAvatarIndex[]; | 33 extern const char kChromeAvatarIndex[]; |
| 33 extern const char kChromeOSAvatarIndex[]; | 34 extern const char kChromeOSAvatarIndex[]; |
| 34 extern const char kChromeOSPasswordData[]; | 35 extern const char kChromeOSPasswordData[]; |
| 35 | 36 |
| 37 // A special supervised user ID used for child accounts. |
| 38 user_manager::UserID GetChildAccountSUID(); |
| 39 |
| 36 } // namespace supervised_users | 40 } // namespace supervised_users |
| 37 | 41 |
| 38 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_CONSTANTS_H_ | 42 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_CONSTANTS_H_ |
| OLD | NEW |