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 "ppapi/features/features.h" | 16 #include "ppapi/features/features.h" |
16 | 17 |
17 namespace prefs { | 18 namespace prefs { |
18 | 19 |
19 // Profile prefs. Please add Local State prefs below instead. | 20 // Profile prefs. Please add Local State prefs below instead. |
20 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) | 21 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) |
21 extern const char kArcApps[]; | 22 extern const char kArcApps[]; |
22 extern const char kArcBackupRestoreEnabled[]; | 23 extern const char kArcBackupRestoreEnabled[]; |
23 extern const char kArcEnabled[]; | 24 extern const char kArcEnabled[]; |
24 extern const char kArcPolicyCompliant[]; | 25 extern const char kArcPolicyCompliant[]; |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 extern const char kEasyUnlockEnabled[]; | 436 extern const char kEasyUnlockEnabled[]; |
436 extern const char kEasyUnlockPairing[]; | 437 extern const char kEasyUnlockPairing[]; |
437 extern const char kEasyUnlockProximityRequired[]; | 438 extern const char kEasyUnlockProximityRequired[]; |
438 | 439 |
439 #if BUILDFLAG(ENABLE_EXTENSIONS) | 440 #if BUILDFLAG(ENABLE_EXTENSIONS) |
440 extern const char kToolbarIconSurfacingBubbleAcknowledged[]; | 441 extern const char kToolbarIconSurfacingBubbleAcknowledged[]; |
441 extern const char kToolbarIconSurfacingBubbleLastShowTime[]; | 442 extern const char kToolbarIconSurfacingBubbleLastShowTime[]; |
442 extern const char kToolbarMigratedComponentActionStatus[]; | 443 extern const char kToolbarMigratedComponentActionStatus[]; |
443 #endif | 444 #endif |
444 | 445 |
445 #if defined(ENABLE_WEBRTC) | 446 #if BUILDFLAG(ENABLE_WEBRTC) |
446 extern const char kWebRTCMultipleRoutesEnabled[]; | 447 extern const char kWebRTCMultipleRoutesEnabled[]; |
447 extern const char kWebRTCNonProxiedUdpEnabled[]; | 448 extern const char kWebRTCNonProxiedUdpEnabled[]; |
448 extern const char kWebRTCIPHandlingPolicy[]; | 449 extern const char kWebRTCIPHandlingPolicy[]; |
449 extern const char kWebRTCUDPPortRange[]; | 450 extern const char kWebRTCUDPPortRange[]; |
450 #endif | 451 #endif |
451 | 452 |
452 #if !defined(OS_ANDROID) | 453 #if !defined(OS_ANDROID) |
453 extern const char kHasSeenWelcomePage[]; | 454 extern const char kHasSeenWelcomePage[]; |
454 #endif | 455 #endif |
455 | 456 |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 | 851 |
851 #if defined(OS_ANDROID) | 852 #if defined(OS_ANDROID) |
852 extern const char kSearchGeolocationDisclosureDismissed[]; | 853 extern const char kSearchGeolocationDisclosureDismissed[]; |
853 extern const char kSearchGeolocationDisclosureShownCount[]; | 854 extern const char kSearchGeolocationDisclosureShownCount[]; |
854 extern const char kSearchGeolocationDisclosureLastShowDate[]; | 855 extern const char kSearchGeolocationDisclosureLastShowDate[]; |
855 #endif | 856 #endif |
856 | 857 |
857 } // namespace prefs | 858 } // namespace prefs |
858 | 859 |
859 #endif // CHROME_COMMON_PREF_NAMES_H_ | 860 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |