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 // Constants for the names of various preferences, for easier changing. | 5 // Constants for the names of various preferences, for easier changing. |
6 | 6 |
7 #ifndef CHROME_COMMON_PREF_NAMES_H_ | 7 #ifndef CHROME_COMMON_PREF_NAMES_H_ |
8 #define CHROME_COMMON_PREF_NAMES_H_ | 8 #define CHROME_COMMON_PREF_NAMES_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "chrome/common/features.h" | 13 #include "chrome/common/features.h" |
14 | 14 |
15 namespace prefs { | 15 namespace prefs { |
16 | 16 |
17 // Profile prefs. Please add Local State prefs below instead. | 17 // Profile prefs. Please add Local State prefs below instead. |
18 extern const char kChildAccountStatusKnown[]; | 18 extern const char kChildAccountStatusKnown[]; |
19 extern const char kDefaultApps[]; | 19 extern const char kDefaultApps[]; |
20 extern const char kDisableScreenshots[]; | 20 extern const char kDisableScreenshots[]; |
21 extern const char kForceEphemeralProfiles[]; | 21 extern const char kForceEphemeralProfiles[]; |
22 extern const char kHomePageIsNewTabPage[]; | 22 extern const char kHomePageIsNewTabPage[]; |
23 extern const char kHomePage[]; | 23 extern const char kHomePage[]; |
24 #if defined(OS_WIN) | 24 #if defined(OS_WIN) |
25 extern const char kLastProfileResetTimestamp[]; | 25 extern const char kLastProfileResetTimestamp[]; |
26 #endif | 26 #endif |
27 extern const char kProfileIconVersion[]; | 27 extern const char kProfileIconVersion[]; |
28 extern const char kRestoreOnStartup[]; | 28 extern const char kRestoreOnStartup[]; |
29 extern const char kRestoreOnStartupMigrated[]; | 29 extern const char kRestoreOnStartupMigrated[]; |
30 extern const char kRestoreStartupURLsMigrationTime[]; | |
31 extern const char kSessionExitedCleanly[]; | 30 extern const char kSessionExitedCleanly[]; |
32 extern const char kSessionExitType[]; | 31 extern const char kSessionExitType[]; |
33 extern const char kSupervisedUserCustodianEmail[]; | 32 extern const char kSupervisedUserCustodianEmail[]; |
34 extern const char kSupervisedUserCustodianName[]; | 33 extern const char kSupervisedUserCustodianName[]; |
35 extern const char kSupervisedUserCustodianProfileImageURL[]; | 34 extern const char kSupervisedUserCustodianProfileImageURL[]; |
36 extern const char kSupervisedUserCustodianProfileURL[]; | 35 extern const char kSupervisedUserCustodianProfileURL[]; |
37 extern const char kSupervisedUserManualHosts[]; | 36 extern const char kSupervisedUserManualHosts[]; |
38 extern const char kSupervisedUserManualURLs[]; | 37 extern const char kSupervisedUserManualURLs[]; |
39 extern const char kSupervisedUserSafeSites[]; | 38 extern const char kSupervisedUserSafeSites[]; |
40 extern const char kSupervisedUserSecondCustodianEmail[]; | 39 extern const char kSupervisedUserSecondCustodianEmail[]; |
41 extern const char kSupervisedUserSecondCustodianName[]; | 40 extern const char kSupervisedUserSecondCustodianName[]; |
42 extern const char kSupervisedUserSecondCustodianProfileImageURL[]; | 41 extern const char kSupervisedUserSecondCustodianProfileImageURL[]; |
43 extern const char kSupervisedUserSecondCustodianProfileURL[]; | 42 extern const char kSupervisedUserSecondCustodianProfileURL[]; |
44 extern const char kSupervisedUserSharedSettings[]; | 43 extern const char kSupervisedUserSharedSettings[]; |
45 extern const char kSupervisedUserWhitelists[]; | 44 extern const char kSupervisedUserWhitelists[]; |
46 extern const char kURLsToRestoreOnStartup[]; | 45 extern const char kURLsToRestoreOnStartup[]; |
47 extern const char kURLsToRestoreOnStartupOld[]; | |
48 | 46 |
49 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state | 47 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
50 // and user's profile. Global property determines locale of login screen, | 48 // and user's profile. Global property determines locale of login screen, |
51 // while user's profile determines his personal locale preference. | 49 // while user's profile determines his personal locale preference. |
52 extern const char kApplicationLocale[]; | 50 extern const char kApplicationLocale[]; |
53 #if defined(OS_CHROMEOS) | 51 #if defined(OS_CHROMEOS) |
54 extern const char kApplicationLocaleBackup[]; | 52 extern const char kApplicationLocaleBackup[]; |
55 extern const char kApplicationLocaleAccepted[]; | 53 extern const char kApplicationLocaleAccepted[]; |
56 extern const char kOwnerLocale[]; | 54 extern const char kOwnerLocale[]; |
57 #endif | 55 #endif |
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 extern const char kAnimationPolicy[]; | 787 extern const char kAnimationPolicy[]; |
790 #endif | 788 #endif |
791 | 789 |
792 extern const char kBackgroundTracingLastUpload[]; | 790 extern const char kBackgroundTracingLastUpload[]; |
793 | 791 |
794 extern const char kAllowDinosaurEasterEgg[]; | 792 extern const char kAllowDinosaurEasterEgg[]; |
795 | 793 |
796 } // namespace prefs | 794 } // namespace prefs |
797 | 795 |
798 #endif // CHROME_COMMON_PREF_NAMES_H_ | 796 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |