Chromium Code Reviews| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 262 | 262 |
| 263 // Boolean pref indicating if instant is enabled. | 263 // Boolean pref indicating if instant is enabled. |
| 264 const char kInstantEnabled[] = "instant.enabled"; | 264 const char kInstantEnabled[] = "instant.enabled"; |
| 265 | 265 |
| 266 // Boolean pref indicating if instant was ever enabled. | 266 // Boolean pref indicating if instant was ever enabled. |
| 267 const char kInstantEnabledOnce[] = "instant.enabled_once"; | 267 const char kInstantEnabledOnce[] = "instant.enabled_once"; |
| 268 | 268 |
| 269 // Time when instant was last enabled. | 269 // Time when instant was last enabled. |
| 270 const char kInstantEnabledTime[] = "instant.enabled_time"; | 270 const char kInstantEnabledTime[] = "instant.enabled_time"; |
| 271 | 271 |
| 272 // Random number drawn and used by the Instant field trial. Stored in prefs to | |
| 273 // provide a consistent field trial experience across browser restarts. | |
| 274 const char kInstantFieldTrialRandomDraw[] = "instant.field_trial_random_draw"; | |
|
jar (doing other things)
2011/07/22 01:42:17
Although I understand why you're doing this... I t
sreeram
2011/07/22 14:31:16
I think that's a fine idea! I'll change this to be
| |
| 275 | |
| 272 // Used to maintain instant promo keys. See PromoCounter for details of subkeys | 276 // Used to maintain instant promo keys. See PromoCounter for details of subkeys |
| 273 // that are used. | 277 // that are used. |
| 274 const char kInstantPromo[] = "instant.promo"; | 278 const char kInstantPromo[] = "instant.promo"; |
| 275 | 279 |
| 276 // Used to migrate preferences from local state to user preferences to | 280 // Used to migrate preferences from local state to user preferences to |
| 277 // enable multiple profiles. | 281 // enable multiple profiles. |
| 278 // BITMASK with possible values (see browser_prefs.cc for enum): | 282 // BITMASK with possible values (see browser_prefs.cc for enum): |
| 279 // 0: No preferences migrated. | 283 // 0: No preferences migrated. |
| 280 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList | 284 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList |
| 281 // 2: Browser window preferences migrated: kDevToolsSplitLocation and | 285 // 2: Browser window preferences migrated: kDevToolsSplitLocation and |
| (...skipping 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1406 // Whether user-specified handlers for protocols and content types can be | 1410 // Whether user-specified handlers for protocols and content types can be |
| 1407 // specified. | 1411 // specified. |
| 1408 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1412 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
| 1409 | 1413 |
| 1410 // Integers that specify the policy refresh rate for device- and user-policy in | 1414 // Integers that specify the policy refresh rate for device- and user-policy in |
| 1411 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1415 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
| 1412 // by the cloud policy subsystem. | 1416 // by the cloud policy subsystem. |
| 1413 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1417 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
| 1414 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1418 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
| 1415 } // namespace prefs | 1419 } // namespace prefs |
| OLD | NEW |