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