| 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 | 13 |
| 14 #include "components/autofill/core/common/autofill_pref_names.h" | 14 #include "components/autofill/core/common/autofill_pref_names.h" |
| 15 #include "components/bookmarks/common/bookmark_pref_names.h" | 15 #include "components/bookmarks/common/bookmark_pref_names.h" |
| 16 #include "components/content_settings/core/common/pref_names.h" | 16 #include "components/content_settings/core/common/pref_names.h" |
| 17 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_
names.h" | 17 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_
names.h" |
| 18 #include "components/metrics/metrics_pref_names.h" | 18 #include "components/metrics/metrics_pref_names.h" |
| 19 #include "components/password_manager/core/common/password_manager_pref_names.h" | 19 #include "components/password_manager/core/common/password_manager_pref_names.h" |
| 20 #include "components/signin/core/common/signin_pref_names.h" | 20 #include "components/signin/core/common/signin_pref_names.h" |
| 21 | 21 |
| 22 // TODO(rkaplow): Move obsolete prefs only needed in brwoser_prefs.cc to |
| 23 // browser_prefs.cc. |
| 22 namespace prefs { | 24 namespace prefs { |
| 23 | 25 |
| 24 // Profile prefs. Please add Local State prefs below instead. | 26 // Profile prefs. Please add Local State prefs below instead. |
| 25 extern const char kDefaultApps[]; | 27 extern const char kDefaultApps[]; |
| 26 extern const char kDefaultAppsInstalled[]; | 28 extern const char kDefaultAppsInstalled[]; |
| 27 extern const char kDisableScreenshots[]; | 29 extern const char kDisableScreenshots[]; |
| 28 extern const char kForceEphemeralProfiles[]; | 30 extern const char kForceEphemeralProfiles[]; |
| 29 extern const char kHomePageIsNewTabPage[]; | 31 extern const char kHomePageIsNewTabPage[]; |
| 30 extern const char kHomePage[]; | 32 extern const char kHomePage[]; |
| 31 extern const char kProfileIconVersion[]; | 33 extern const char kProfileIconVersion[]; |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 extern const char kSafeBrowsingIncidentsSent[]; | 147 extern const char kSafeBrowsingIncidentsSent[]; |
| 146 extern const char kIncognitoModeAvailability[]; | 148 extern const char kIncognitoModeAvailability[]; |
| 147 extern const char kSearchSuggestEnabled[]; | 149 extern const char kSearchSuggestEnabled[]; |
| 148 #if defined(OS_ANDROID) | 150 #if defined(OS_ANDROID) |
| 149 extern const char kContextualSearchEnabled[]; | 151 extern const char kContextualSearchEnabled[]; |
| 150 #endif | 152 #endif |
| 151 extern const char kConfirmToQuitEnabled[]; | 153 extern const char kConfirmToQuitEnabled[]; |
| 152 extern const char kCookieBehavior[]; // OBSOLETE | 154 extern const char kCookieBehavior[]; // OBSOLETE |
| 153 extern const char kPromptForDownload[]; | 155 extern const char kPromptForDownload[]; |
| 154 extern const char kAlternateErrorPagesEnabled[]; | 156 extern const char kAlternateErrorPagesEnabled[]; |
| 155 extern const char kDnsStartupPrefetchList[]; // OBSOLETE | |
| 156 extern const char kDnsPrefetchingStartupList[]; | 157 extern const char kDnsPrefetchingStartupList[]; |
| 157 extern const char kDnsHostReferralList[]; // OBSOLETE | |
| 158 extern const char kDnsPrefetchingHostReferralList[]; | 158 extern const char kDnsPrefetchingHostReferralList[]; |
| 159 extern const char kDisableSpdy[]; | 159 extern const char kDisableSpdy[]; |
| 160 extern const char kHttpServerProperties[]; | 160 extern const char kHttpServerProperties[]; |
| 161 extern const char kSpdyServers[]; | 161 extern const char kSpdyServers[]; |
| 162 extern const char kAlternateProtocolServers[]; | 162 extern const char kAlternateProtocolServers[]; |
| 163 extern const char kDisabledSchemes[]; | 163 extern const char kDisabledSchemes[]; |
| 164 #if defined(OS_ANDROID) || defined(OS_IOS) | 164 #if defined(OS_ANDROID) || defined(OS_IOS) |
| 165 extern const char kLastPolicyCheckTime[]; | 165 extern const char kLastPolicyCheckTime[]; |
| 166 #endif | 166 #endif |
| 167 extern const char kInstantUIZeroSuggestUrlPrefix[]; | 167 extern const char kInstantUIZeroSuggestUrlPrefix[]; |
| 168 extern const char kMultipleProfilePrefMigration[]; | |
| 169 extern const char kNetworkPredictionEnabled[]; | 168 extern const char kNetworkPredictionEnabled[]; |
| 170 extern const char kNetworkPredictionOptions[]; | 169 extern const char kNetworkPredictionOptions[]; |
| 171 extern const char kDefaultAppsInstallState[]; | 170 extern const char kDefaultAppsInstallState[]; |
| 172 extern const char kHideWebStoreIcon[]; | 171 extern const char kHideWebStoreIcon[]; |
| 173 #if defined(OS_CHROMEOS) | 172 #if defined(OS_CHROMEOS) |
| 174 extern const char kTapToClickEnabled[]; | 173 extern const char kTapToClickEnabled[]; |
| 175 extern const char kTapDraggingEnabled[]; | 174 extern const char kTapDraggingEnabled[]; |
| 176 extern const char kEnableTouchpadThreeFingerClick[]; | 175 extern const char kEnableTouchpadThreeFingerClick[]; |
| 177 extern const char kNaturalScroll[]; | 176 extern const char kNaturalScroll[]; |
| 178 extern const char kPrimaryMouseButtonRight[]; | 177 extern const char kPrimaryMouseButtonRight[]; |
| (...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 | 822 |
| 824 extern const char kRegisteredSupervisedUserWhitelists[]; | 823 extern const char kRegisteredSupervisedUserWhitelists[]; |
| 825 | 824 |
| 826 #if defined(ENABLE_EXTENSIONS) | 825 #if defined(ENABLE_EXTENSIONS) |
| 827 extern const char kAnimationPolicy[]; | 826 extern const char kAnimationPolicy[]; |
| 828 #endif | 827 #endif |
| 829 | 828 |
| 830 } // namespace prefs | 829 } // namespace prefs |
| 831 | 830 |
| 832 #endif // CHROME_COMMON_PREF_NAMES_H_ | 831 #endif // CHROME_COMMON_PREF_NAMES_H_ |
| OLD | NEW |