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