| 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 #include "extensions/features/features.h" | 14 #include "extensions/features/features.h" |
| 15 #include "media/media_features.h" | 15 #include "media/media_features.h" |
| 16 #include "ppapi/features/features.h" | 16 #include "ppapi/features/features.h" |
| 17 #include "rlz/features/features.h" |
| 17 | 18 |
| 18 namespace prefs { | 19 namespace prefs { |
| 19 | 20 |
| 20 // Profile prefs. Please add Local State prefs below instead. | 21 // Profile prefs. Please add Local State prefs below instead. |
| 21 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) | 22 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) |
| 22 extern const char kArcApps[]; | 23 extern const char kArcApps[]; |
| 23 extern const char kArcBackupRestoreEnabled[]; | 24 extern const char kArcBackupRestoreEnabled[]; |
| 24 extern const char kArcDataRemoveRequested[]; | 25 extern const char kArcDataRemoveRequested[]; |
| 25 extern const char kArcEnabled[]; | 26 extern const char kArcEnabled[]; |
| 26 extern const char kArcTermsAccepted[]; | 27 extern const char kArcTermsAccepted[]; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 54 extern const char kSupervisedUserManualURLs[]; | 55 extern const char kSupervisedUserManualURLs[]; |
| 55 extern const char kSupervisedUserSafeSites[]; | 56 extern const char kSupervisedUserSafeSites[]; |
| 56 extern const char kSupervisedUserSecondCustodianEmail[]; | 57 extern const char kSupervisedUserSecondCustodianEmail[]; |
| 57 extern const char kSupervisedUserSecondCustodianName[]; | 58 extern const char kSupervisedUserSecondCustodianName[]; |
| 58 extern const char kSupervisedUserSecondCustodianProfileImageURL[]; | 59 extern const char kSupervisedUserSecondCustodianProfileImageURL[]; |
| 59 extern const char kSupervisedUserSecondCustodianProfileURL[]; | 60 extern const char kSupervisedUserSecondCustodianProfileURL[]; |
| 60 extern const char kSupervisedUserSharedSettings[]; | 61 extern const char kSupervisedUserSharedSettings[]; |
| 61 extern const char kSupervisedUserWhitelists[]; | 62 extern const char kSupervisedUserWhitelists[]; |
| 62 extern const char kURLsToRestoreOnStartup[]; | 63 extern const char kURLsToRestoreOnStartup[]; |
| 63 | 64 |
| 65 #if BUILDFLAG(ENABLE_RLZ) |
| 66 extern const char kRlzPingDelaySeconds[]; |
| 67 #endif // BUILDFLAG(ENABLE_RLZ) |
| 68 |
| 64 // For OS_CHROMEOS we maintain the kApplicationLocale property in both local | 69 // For OS_CHROMEOS we maintain the kApplicationLocale property in both local |
| 65 // state and the user's profile. The global property determines the locale of | 70 // state and the user's profile. The global property determines the locale of |
| 66 // the login screen, while the user's profile determines their personal locale | 71 // the login screen, while the user's profile determines their personal locale |
| 67 // preference. | 72 // preference. |
| 68 extern const char kApplicationLocale[]; | 73 extern const char kApplicationLocale[]; |
| 69 #if defined(OS_CHROMEOS) | 74 #if defined(OS_CHROMEOS) |
| 70 extern const char kApplicationLocaleBackup[]; | 75 extern const char kApplicationLocaleBackup[]; |
| 71 extern const char kApplicationLocaleAccepted[]; | 76 extern const char kApplicationLocaleAccepted[]; |
| 72 extern const char kOwnerLocale[]; | 77 extern const char kOwnerLocale[]; |
| 73 #endif | 78 #endif |
| (...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 894 extern const char kBookmarksBubbleIOSPromoDismissed[]; | 899 extern const char kBookmarksBubbleIOSPromoDismissed[]; |
| 895 extern const char kNumberBookmarksFootNoteIOSPromoShown[]; | 900 extern const char kNumberBookmarksFootNoteIOSPromoShown[]; |
| 896 extern const char kBookmarksFootNoteIOSPromoDismissed[]; | 901 extern const char kBookmarksFootNoteIOSPromoDismissed[]; |
| 897 extern const char kNumberHistoryPageIOSPromoShown[]; | 902 extern const char kNumberHistoryPageIOSPromoShown[]; |
| 898 extern const char kHistoryPageIOSPromoDismissed[]; | 903 extern const char kHistoryPageIOSPromoDismissed[]; |
| 899 #endif | 904 #endif |
| 900 | 905 |
| 901 } // namespace prefs | 906 } // namespace prefs |
| 902 | 907 |
| 903 #endif // CHROME_COMMON_PREF_NAMES_H_ | 908 #endif // CHROME_COMMON_PREF_NAMES_H_ |
| OLD | NEW |