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 #if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) | 18 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) |
19 extern const char kArcApps[]; | 19 extern const char kArcApps[]; |
20 extern const char kArcBackupRestoreEnabled[]; | 20 extern const char kArcBackupRestoreEnabled[]; |
21 extern const char kArcEnabled[]; | 21 extern const char kArcEnabled[]; |
22 extern const char kArcLocationServiceEnabled[]; | 22 extern const char kArcLocationServiceEnabled[]; |
23 extern const char kArcPackages[]; | 23 extern const char kArcPackages[]; |
24 extern const char kArcSetNotificationsEnabledDeferred[]; | 24 extern const char kArcSetNotificationsEnabledDeferred[]; |
25 extern const char kArcSignedIn[]; | 25 extern const char kArcSignedIn[]; |
26 #endif | 26 #endif |
27 extern const char kChildAccountStatusKnown[]; | 27 extern const char kChildAccountStatusKnown[]; |
28 extern const char kDefaultApps[]; | 28 extern const char kDefaultApps[]; |
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 #if defined(OS_WIN) | 751 #if defined(OS_WIN) |
752 extern const char kNetworkProfileWarningsLeft[]; | 752 extern const char kNetworkProfileWarningsLeft[]; |
753 extern const char kNetworkProfileLastWarningTime[]; | 753 extern const char kNetworkProfileLastWarningTime[]; |
754 #endif | 754 #endif |
755 | 755 |
756 #if defined(OS_CHROMEOS) | 756 #if defined(OS_CHROMEOS) |
757 extern const char kRLZBrand[]; | 757 extern const char kRLZBrand[]; |
758 extern const char kRLZDisabled[]; | 758 extern const char kRLZDisabled[]; |
759 #endif | 759 #endif |
760 | 760 |
761 #if defined(ENABLE_APP_LIST) | 761 #if BUILDFLAG(ENABLE_APP_LIST) |
762 extern const char kAppListProfile[]; | 762 extern const char kAppListProfile[]; |
763 extern const char kLastAppListLaunchPing[]; | 763 extern const char kLastAppListLaunchPing[]; |
764 extern const char kAppListLaunchCount[]; | 764 extern const char kAppListLaunchCount[]; |
765 extern const char kLastAppListAppLaunchPing[]; | 765 extern const char kLastAppListAppLaunchPing[]; |
766 extern const char kAppListAppLaunchCount[]; | 766 extern const char kAppListAppLaunchCount[]; |
767 extern const char kAppLauncherHasBeenEnabled[]; | 767 extern const char kAppLauncherHasBeenEnabled[]; |
768 extern const char kAppListEnableMethod[]; | 768 extern const char kAppListEnableMethod[]; |
769 extern const char kAppListEnableTime[]; | 769 extern const char kAppListEnableTime[]; |
770 #if defined(OS_MACOSX) | 770 #if defined(OS_MACOSX) |
771 extern const char kAppLauncherShortcutVersion[]; | 771 extern const char kAppLauncherShortcutVersion[]; |
772 #endif | 772 #endif |
773 extern const char kShowAppLauncherPromo[]; | 773 extern const char kShowAppLauncherPromo[]; |
774 extern const char kAppLauncherDriveAppMapping[]; | 774 extern const char kAppLauncherDriveAppMapping[]; |
775 extern const char kAppLauncherUninstalledDriveApps[]; | 775 extern const char kAppLauncherUninstalledDriveApps[]; |
776 #endif // defined(ENABLE_APP_LIST) | 776 #endif // BUILDFLAG(ENABLE_APP_LIST) |
777 | 777 |
778 #if defined(OS_WIN) | 778 #if defined(OS_WIN) |
779 extern const char kAppLaunchForMetroRestart[]; | 779 extern const char kAppLaunchForMetroRestart[]; |
780 extern const char kAppLaunchForMetroRestartProfile[]; | 780 extern const char kAppLaunchForMetroRestartProfile[]; |
781 #endif | 781 #endif |
782 extern const char kAppShortcutsVersion[]; | 782 extern const char kAppShortcutsVersion[]; |
783 | 783 |
784 extern const char kModuleConflictBubbleShown[]; | 784 extern const char kModuleConflictBubbleShown[]; |
785 | 785 |
786 extern const char kDRMSalt[]; | 786 extern const char kDRMSalt[]; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 #endif | 833 #endif |
834 | 834 |
835 extern const char kOriginTrialPublicKey[]; | 835 extern const char kOriginTrialPublicKey[]; |
836 extern const char kOriginTrialDisabledFeatures[]; | 836 extern const char kOriginTrialDisabledFeatures[]; |
837 | 837 |
838 extern const char kComponentUpdatesEnabled[]; | 838 extern const char kComponentUpdatesEnabled[]; |
839 | 839 |
840 } // namespace prefs | 840 } // namespace prefs |
841 | 841 |
842 #endif // CHROME_COMMON_PREF_NAMES_H_ | 842 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |