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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 | 265 |
266 // Boolean pref indicating if instant is enabled. | 266 // Boolean pref indicating if instant is enabled. |
267 const char kInstantEnabled[] = "instant.enabled"; | 267 const char kInstantEnabled[] = "instant.enabled"; |
268 | 268 |
269 // Boolean pref indicating if instant was ever enabled. | 269 // Boolean pref indicating if instant was ever enabled. |
270 const char kInstantEnabledOnce[] = "instant.enabled_once"; | 270 const char kInstantEnabledOnce[] = "instant.enabled_once"; |
271 | 271 |
272 // Time when instant was last enabled. | 272 // Time when instant was last enabled. |
273 const char kInstantEnabledTime[] = "instant.enabled_time"; | 273 const char kInstantEnabledTime[] = "instant.enabled_time"; |
274 | 274 |
| 275 // Random number drawn and used by the Instant field trial. Stored in prefs to |
| 276 // provide a consistent field trial experience across browser restarts. |
| 277 const char kInstantFieldTrialRandomDraw[] = "instant.field_trial_random_draw"; |
| 278 |
275 // Used to maintain instant promo keys. See PromoCounter for details of subkeys | 279 // Used to maintain instant promo keys. See PromoCounter for details of subkeys |
276 // that are used. | 280 // that are used. |
277 const char kInstantPromo[] = "instant.promo"; | 281 const char kInstantPromo[] = "instant.promo"; |
278 | 282 |
279 // Used to migrate preferences from local state to user preferences to | 283 // Used to migrate preferences from local state to user preferences to |
280 // enable multiple profiles. | 284 // enable multiple profiles. |
281 // BITMASK with possible values (see browser_prefs.cc for enum): | 285 // BITMASK with possible values (see browser_prefs.cc for enum): |
282 // 0: No preferences migrated. | 286 // 0: No preferences migrated. |
283 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList | 287 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList |
284 // 2: Browser window preferences migrated: kDevToolsSplitLocation and | 288 // 2: Browser window preferences migrated: kDevToolsSplitLocation and |
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1418 // Whether user-specified handlers for protocols and content types can be | 1422 // Whether user-specified handlers for protocols and content types can be |
1419 // specified. | 1423 // specified. |
1420 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1424 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
1421 | 1425 |
1422 // Integers that specify the policy refresh rate for device- and user-policy in | 1426 // Integers that specify the policy refresh rate for device- and user-policy in |
1423 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1427 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
1424 // by the cloud policy subsystem. | 1428 // by the cloud policy subsystem. |
1425 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1429 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
1426 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1430 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
1427 } // namespace prefs | 1431 } // namespace prefs |
OLD | NEW |