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 #include "chrome/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "chrome/common/features.h" |
9 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
10 | 11 |
11 namespace prefs { | 12 namespace prefs { |
12 | 13 |
13 // *************** PROFILE PREFS *************** | 14 // *************** PROFILE PREFS *************** |
14 // These are attached to the user profile | 15 // These are attached to the user profile |
15 | 16 |
16 #if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) | 17 #if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) |
17 // A preference to keep list of Android apps and their state. | 18 // A preference to keep list of Android apps and their state. |
18 const char kArcApps[] = "arc.apps"; | 19 const char kArcApps[] = "arc.apps"; |
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
989 const char kPluginsShowDetails[] = "plugins.show_details"; | 990 const char kPluginsShowDetails[] = "plugins.show_details"; |
990 #endif | 991 #endif |
991 | 992 |
992 // Boolean that indicates whether outdated plugins are allowed or not. | 993 // Boolean that indicates whether outdated plugins are allowed or not. |
993 const char kPluginsAllowOutdated[] = "plugins.allow_outdated"; | 994 const char kPluginsAllowOutdated[] = "plugins.allow_outdated"; |
994 | 995 |
995 // Boolean that indicates whether plugins that require authorization should | 996 // Boolean that indicates whether plugins that require authorization should |
996 // be always allowed or not. | 997 // be always allowed or not. |
997 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize"; | 998 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize"; |
998 | 999 |
999 #if defined(ENABLE_PLUGIN_INSTALLATION) | 1000 #if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION) |
1000 // Dictionary holding plugins metadata. | 1001 // Dictionary holding plugins metadata. |
1001 const char kPluginsMetadata[] = "plugins.metadata"; | 1002 const char kPluginsMetadata[] = "plugins.metadata"; |
1002 | 1003 |
1003 // Last update time of plugins resource cache. | 1004 // Last update time of plugins resource cache. |
1004 const char kPluginsResourceCacheUpdate[] = "plugins.resource_cache_update"; | 1005 const char kPluginsResourceCacheUpdate[] = "plugins.resource_cache_update"; |
1005 #endif | 1006 #endif |
1006 | 1007 |
1007 // Int64 containing the internal value of the time at which the default browser | 1008 // Int64 containing the internal value of the time at which the default browser |
1008 // infobar was last dismissed by the user. | 1009 // infobar was last dismissed by the user. |
1009 const char kDefaultBrowserLastDeclined[] = | 1010 const char kDefaultBrowserLastDeclined[] = |
(...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2264 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2265 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
2265 | 2266 |
2266 // A list of origin trial features to disable by policy. | 2267 // A list of origin trial features to disable by policy. |
2267 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2268 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
2268 | 2269 |
2269 // Policy that indicates the state of updates for the binary components. | 2270 // Policy that indicates the state of updates for the binary components. |
2270 const char kComponentUpdatesEnabled[] = | 2271 const char kComponentUpdatesEnabled[] = |
2271 "component_updates.component_updates_enabled"; | 2272 "component_updates.component_updates_enabled"; |
2272 | 2273 |
2273 } // namespace prefs | 2274 } // namespace prefs |
OLD | NEW |