| 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/features.h" |
| 10 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
| 11 #include "extensions/features/features.h" |
| 11 | 12 |
| 12 namespace prefs { | 13 namespace prefs { |
| 13 | 14 |
| 14 // *************** PROFILE PREFS *************** | 15 // *************** PROFILE PREFS *************** |
| 15 // These are attached to the user profile | 16 // These are attached to the user profile |
| 16 | 17 |
| 17 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) | 18 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) |
| 18 // A preference to keep list of Android apps and their state. | 19 // A preference to keep list of Android apps and their state. |
| 19 const char kArcApps[] = "arc.apps"; | 20 const char kArcApps[] = "arc.apps"; |
| 20 // A preference to store backup and restore state for Android apps. | 21 // A preference to store backup and restore state for Android apps. |
| (...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1262 // Whether Easy Unlock is enabled. | 1263 // Whether Easy Unlock is enabled. |
| 1263 const char kEasyUnlockEnabled[] = "easy_unlock.enabled"; | 1264 const char kEasyUnlockEnabled[] = "easy_unlock.enabled"; |
| 1264 | 1265 |
| 1265 // Preference storing Easy Unlock pairing data. | 1266 // Preference storing Easy Unlock pairing data. |
| 1266 const char kEasyUnlockPairing[] = "easy_unlock.pairing"; | 1267 const char kEasyUnlockPairing[] = "easy_unlock.pairing"; |
| 1267 | 1268 |
| 1268 // Whether close proximity between the remote and the local device is required | 1269 // Whether close proximity between the remote and the local device is required |
| 1269 // in order to use Easy Unlock. | 1270 // in order to use Easy Unlock. |
| 1270 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; | 1271 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; |
| 1271 | 1272 |
| 1272 #if defined(ENABLE_EXTENSIONS) | 1273 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 1273 // Used to indicate whether or not the toolbar redesign bubble has been shown | 1274 // Used to indicate whether or not the toolbar redesign bubble has been shown |
| 1274 // and acknowledged, and the last time the bubble was shown. | 1275 // and acknowledged, and the last time the bubble was shown. |
| 1275 const char kToolbarIconSurfacingBubbleAcknowledged[] = | 1276 const char kToolbarIconSurfacingBubbleAcknowledged[] = |
| 1276 "toolbar_icon_surfacing_bubble_acknowledged"; | 1277 "toolbar_icon_surfacing_bubble_acknowledged"; |
| 1277 const char kToolbarIconSurfacingBubbleLastShowTime[] = | 1278 const char kToolbarIconSurfacingBubbleLastShowTime[] = |
| 1278 "toolbar_icon_surfacing_bubble_show_time"; | 1279 "toolbar_icon_surfacing_bubble_show_time"; |
| 1279 | 1280 |
| 1280 // Used to track component actions in the toolbar that were migrated from | 1281 // Used to track component actions in the toolbar that were migrated from |
| 1281 // extensions. | 1282 // extensions. |
| 1282 const char kToolbarMigratedComponentActionStatus[] = | 1283 const char kToolbarMigratedComponentActionStatus[] = |
| (...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2245 | 2246 |
| 2246 // Boolean that indicates whether elevation is needed to recover Chrome upgrade. | 2247 // Boolean that indicates whether elevation is needed to recover Chrome upgrade. |
| 2247 const char kRecoveryComponentNeedsElevation[] = | 2248 const char kRecoveryComponentNeedsElevation[] = |
| 2248 "recovery_component.needs_elevation"; | 2249 "recovery_component.needs_elevation"; |
| 2249 | 2250 |
| 2250 // A dictionary that maps from supervised user whitelist IDs to their properties | 2251 // A dictionary that maps from supervised user whitelist IDs to their properties |
| 2251 // (name and a list of clients that registered the whitelist). | 2252 // (name and a list of clients that registered the whitelist). |
| 2252 const char kRegisteredSupervisedUserWhitelists[] = | 2253 const char kRegisteredSupervisedUserWhitelists[] = |
| 2253 "supervised_users.whitelists"; | 2254 "supervised_users.whitelists"; |
| 2254 | 2255 |
| 2255 #if defined(ENABLE_EXTENSIONS) | 2256 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 2256 // Policy that indicates how to handle animated images. | 2257 // Policy that indicates how to handle animated images. |
| 2257 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; | 2258 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; |
| 2258 #endif | 2259 #endif |
| 2259 | 2260 |
| 2260 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; | 2261 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; |
| 2261 | 2262 |
| 2262 const char kAllowDinosaurEasterEgg[] = | 2263 const char kAllowDinosaurEasterEgg[] = |
| 2263 "allow_dinosaur_easter_egg"; | 2264 "allow_dinosaur_easter_egg"; |
| 2264 | 2265 |
| 2265 #if defined(OS_ANDROID) | 2266 #if defined(OS_ANDROID) |
| (...skipping 25 matching lines...) Expand all Loading... |
| 2291 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2292 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
| 2292 | 2293 |
| 2293 // A list of origin trial features to disable by policy. | 2294 // A list of origin trial features to disable by policy. |
| 2294 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2295 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
| 2295 | 2296 |
| 2296 // Policy that indicates the state of updates for the binary components. | 2297 // Policy that indicates the state of updates for the binary components. |
| 2297 const char kComponentUpdatesEnabled[] = | 2298 const char kComponentUpdatesEnabled[] = |
| 2298 "component_updates.component_updates_enabled"; | 2299 "component_updates.component_updates_enabled"; |
| 2299 | 2300 |
| 2300 } // namespace prefs | 2301 } // namespace prefs |
| OLD | NEW |