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 | 14 |
14 namespace prefs { | 15 namespace prefs { |
15 | 16 |
16 // Profile prefs. Please add Local State prefs below instead. | 17 // Profile prefs. Please add Local State prefs below instead. |
17 extern const char kChildAccountStatusKnown[]; | 18 extern const char kChildAccountStatusKnown[]; |
18 extern const char kDefaultApps[]; | 19 extern const char kDefaultApps[]; |
19 extern const char kDisableScreenshots[]; | 20 extern const char kDisableScreenshots[]; |
20 extern const char kForceEphemeralProfiles[]; | 21 extern const char kForceEphemeralProfiles[]; |
21 extern const char kHomePageIsNewTabPage[]; | 22 extern const char kHomePageIsNewTabPage[]; |
22 extern const char kHomePage[]; | 23 extern const char kHomePage[]; |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 | 551 |
551 extern const char kWebAppCreateOnDesktop[]; | 552 extern const char kWebAppCreateOnDesktop[]; |
552 extern const char kWebAppCreateInAppsMenu[]; | 553 extern const char kWebAppCreateInAppsMenu[]; |
553 extern const char kWebAppCreateInQuickLaunchBar[]; | 554 extern const char kWebAppCreateInQuickLaunchBar[]; |
554 | 555 |
555 extern const char kGeolocationAccessToken[]; | 556 extern const char kGeolocationAccessToken[]; |
556 #if defined(OS_ANDROID) | 557 #if defined(OS_ANDROID) |
557 extern const char kGeolocationEnabled[]; | 558 extern const char kGeolocationEnabled[]; |
558 #endif | 559 #endif |
559 | 560 |
560 #if defined(ENABLE_GOOGLE_NOW) | 561 #if BUILDFLAG(ENABLE_GOOGLE_NOW) |
561 extern const char kGoogleGeolocationAccessEnabled[]; | 562 extern const char kGoogleGeolocationAccessEnabled[]; |
562 #endif | 563 #endif |
563 extern const char kGoogleNowLauncherEnabled[]; | 564 extern const char kGoogleNowLauncherEnabled[]; |
564 | 565 |
565 extern const char kDefaultAudioCaptureDevice[]; | 566 extern const char kDefaultAudioCaptureDevice[]; |
566 extern const char kDefaultVideoCaptureDevice[]; | 567 extern const char kDefaultVideoCaptureDevice[]; |
567 extern const char kMediaDeviceIdSalt[]; | 568 extern const char kMediaDeviceIdSalt[]; |
568 | 569 |
569 extern const char kPrintPreviewStickySettings[]; | 570 extern const char kPrintPreviewStickySettings[]; |
570 extern const char kCloudPrintRoot[]; | 571 extern const char kCloudPrintRoot[]; |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 extern const char kAnimationPolicy[]; | 789 extern const char kAnimationPolicy[]; |
789 #endif | 790 #endif |
790 | 791 |
791 extern const char kBackgroundTracingLastUpload[]; | 792 extern const char kBackgroundTracingLastUpload[]; |
792 | 793 |
793 extern const char kAllowDinosaurEasterEgg[]; | 794 extern const char kAllowDinosaurEasterEgg[]; |
794 | 795 |
795 } // namespace prefs | 796 } // namespace prefs |
796 | 797 |
797 #endif // CHROME_COMMON_PREF_NAMES_H_ | 798 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |