| 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 | 15 |
| 15 namespace prefs { | 16 namespace prefs { |
| 16 | 17 |
| 17 // Profile prefs. Please add Local State prefs below instead. | 18 // Profile prefs. Please add Local State prefs below instead. |
| 18 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) | 19 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) |
| 19 extern const char kArcApps[]; | 20 extern const char kArcApps[]; |
| 20 extern const char kArcBackupRestoreEnabled[]; | 21 extern const char kArcBackupRestoreEnabled[]; |
| 21 extern const char kArcEnabled[]; | 22 extern const char kArcEnabled[]; |
| 22 extern const char kArcTermsAccepted[]; | 23 extern const char kArcTermsAccepted[]; |
| 23 extern const char kArcLocationServiceEnabled[]; | 24 extern const char kArcLocationServiceEnabled[]; |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 extern const char kPushMessagingAppIdentifierMap[]; | 427 extern const char kPushMessagingAppIdentifierMap[]; |
| 427 extern const char kBackgroundBudgetMap[]; | 428 extern const char kBackgroundBudgetMap[]; |
| 428 | 429 |
| 429 extern const char kGCMProductCategoryForSubtypes[]; | 430 extern const char kGCMProductCategoryForSubtypes[]; |
| 430 | 431 |
| 431 extern const char kEasyUnlockAllowed[]; | 432 extern const char kEasyUnlockAllowed[]; |
| 432 extern const char kEasyUnlockEnabled[]; | 433 extern const char kEasyUnlockEnabled[]; |
| 433 extern const char kEasyUnlockPairing[]; | 434 extern const char kEasyUnlockPairing[]; |
| 434 extern const char kEasyUnlockProximityRequired[]; | 435 extern const char kEasyUnlockProximityRequired[]; |
| 435 | 436 |
| 436 #if defined(ENABLE_EXTENSIONS) | 437 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 437 extern const char kToolbarIconSurfacingBubbleAcknowledged[]; | 438 extern const char kToolbarIconSurfacingBubbleAcknowledged[]; |
| 438 extern const char kToolbarIconSurfacingBubbleLastShowTime[]; | 439 extern const char kToolbarIconSurfacingBubbleLastShowTime[]; |
| 439 extern const char kToolbarMigratedComponentActionStatus[]; | 440 extern const char kToolbarMigratedComponentActionStatus[]; |
| 440 #endif | 441 #endif |
| 441 | 442 |
| 442 #if defined(ENABLE_WEBRTC) | 443 #if defined(ENABLE_WEBRTC) |
| 443 extern const char kWebRTCMultipleRoutesEnabled[]; | 444 extern const char kWebRTCMultipleRoutesEnabled[]; |
| 444 extern const char kWebRTCNonProxiedUdpEnabled[]; | 445 extern const char kWebRTCNonProxiedUdpEnabled[]; |
| 445 extern const char kWebRTCIPHandlingPolicy[]; | 446 extern const char kWebRTCIPHandlingPolicy[]; |
| 446 extern const char kWebRTCUDPPortRange[]; | 447 extern const char kWebRTCUDPPortRange[]; |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 extern const char kEasyUnlockLocalStateUserPrefs[]; | 811 extern const char kEasyUnlockLocalStateUserPrefs[]; |
| 811 | 812 |
| 812 extern const char kRecoveryComponentNeedsElevation[]; | 813 extern const char kRecoveryComponentNeedsElevation[]; |
| 813 | 814 |
| 814 extern const char kRegisteredSupervisedUserWhitelists[]; | 815 extern const char kRegisteredSupervisedUserWhitelists[]; |
| 815 | 816 |
| 816 #if BUILDFLAG(ENABLE_BACKGROUND) | 817 #if BUILDFLAG(ENABLE_BACKGROUND) |
| 817 extern const char kRestartInBackground[]; | 818 extern const char kRestartInBackground[]; |
| 818 #endif | 819 #endif |
| 819 | 820 |
| 820 #if defined(ENABLE_EXTENSIONS) | 821 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 821 extern const char kAnimationPolicy[]; | 822 extern const char kAnimationPolicy[]; |
| 822 #endif | 823 #endif |
| 823 | 824 |
| 824 extern const char kBackgroundTracingLastUpload[]; | 825 extern const char kBackgroundTracingLastUpload[]; |
| 825 | 826 |
| 826 extern const char kAllowDinosaurEasterEgg[]; | 827 extern const char kAllowDinosaurEasterEgg[]; |
| 827 | 828 |
| 828 #if defined(OS_ANDROID) | 829 #if defined(OS_ANDROID) |
| 829 extern const char kClickedUpdateMenuItem[]; | 830 extern const char kClickedUpdateMenuItem[]; |
| 830 extern const char kLatestVersionWhenClickedUpdateMenuItem[]; | 831 extern const char kLatestVersionWhenClickedUpdateMenuItem[]; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 843 | 844 |
| 844 #if defined(OS_ANDROID) | 845 #if defined(OS_ANDROID) |
| 845 extern const char kSearchGeolocationDisclosureDismissed[]; | 846 extern const char kSearchGeolocationDisclosureDismissed[]; |
| 846 extern const char kSearchGeolocationDisclosureShownCount[]; | 847 extern const char kSearchGeolocationDisclosureShownCount[]; |
| 847 extern const char kSearchGeolocationDisclosureLastShowDate[]; | 848 extern const char kSearchGeolocationDisclosureLastShowDate[]; |
| 848 #endif | 849 #endif |
| 849 | 850 |
| 850 } // namespace prefs | 851 } // namespace prefs |
| 851 | 852 |
| 852 #endif // CHROME_COMMON_PREF_NAMES_H_ | 853 #endif // CHROME_COMMON_PREF_NAMES_H_ |
| OLD | NEW |