| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 namespace prefs { | 7 namespace prefs { |
| 8 | 8 |
| 9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
| 10 // These are attached to the user profile | 10 // These are attached to the user profile |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 | 272 |
| 273 // Boolean pref indicating if instant is enabled. | 273 // Boolean pref indicating if instant is enabled. |
| 274 const char kInstantEnabled[] = "instant.enabled"; | 274 const char kInstantEnabled[] = "instant.enabled"; |
| 275 | 275 |
| 276 // Boolean pref indicating if instant was ever enabled. | 276 // Boolean pref indicating if instant was ever enabled. |
| 277 const char kInstantEnabledOnce[] = "instant.enabled_once"; | 277 const char kInstantEnabledOnce[] = "instant.enabled_once"; |
| 278 | 278 |
| 279 // Time when instant was last enabled. | 279 // Time when instant was last enabled. |
| 280 const char kInstantEnabledTime[] = "instant.enabled_time"; | 280 const char kInstantEnabledTime[] = "instant.enabled_time"; |
| 281 | 281 |
| 282 // Random number drawn and used by the Instant field trial. Stored in prefs to | |
| 283 // provide a consistent field trial experience across browser restarts. | |
| 284 const char kInstantFieldTrialRandomDraw[] = "instant.field_trial_random_draw"; | |
| 285 | |
| 286 // Used to maintain instant promo keys. See PromoCounter for details of subkeys | 282 // Used to maintain instant promo keys. See PromoCounter for details of subkeys |
| 287 // that are used. | 283 // that are used. |
| 288 const char kInstantPromo[] = "instant.promo"; | 284 const char kInstantPromo[] = "instant.promo"; |
| 289 | 285 |
| 290 // Used to migrate preferences from local state to user preferences to | 286 // Used to migrate preferences from local state to user preferences to |
| 291 // enable multiple profiles. | 287 // enable multiple profiles. |
| 292 // BITMASK with possible values (see browser_prefs.cc for enum): | 288 // BITMASK with possible values (see browser_prefs.cc for enum): |
| 293 // 0: No preferences migrated. | 289 // 0: No preferences migrated. |
| 294 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList | 290 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList |
| 295 // 2: Browser window preferences migrated: kDevToolsSplitLocation and | 291 // 2: Browser window preferences migrated: kDevToolsSplitLocation and |
| (...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1457 // Whether user-specified handlers for protocols and content types can be | 1453 // Whether user-specified handlers for protocols and content types can be |
| 1458 // specified. | 1454 // specified. |
| 1459 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1455 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
| 1460 | 1456 |
| 1461 // Integers that specify the policy refresh rate for device- and user-policy in | 1457 // Integers that specify the policy refresh rate for device- and user-policy in |
| 1462 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1458 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
| 1463 // by the cloud policy subsystem. | 1459 // by the cloud policy subsystem. |
| 1464 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1460 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
| 1465 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1461 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
| 1466 } // namespace prefs | 1462 } // namespace prefs |
| OLD | NEW |