Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Side by Side Diff: chrome/common/pref_names.cc

Issue 7337007: Introduce a field trial for Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reverting ifdef'ed constructor Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/webui/options.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
278 // 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
279 // that are used. 283 // that are used.
280 const char kInstantPromo[] = "instant.promo"; 284 const char kInstantPromo[] = "instant.promo";
281 285
282 // Used to migrate preferences from local state to user preferences to 286 // Used to migrate preferences from local state to user preferences to
283 // enable multiple profiles. 287 // enable multiple profiles.
284 // BITMASK with possible values (see browser_prefs.cc for enum): 288 // BITMASK with possible values (see browser_prefs.cc for enum):
285 // 0: No preferences migrated. 289 // 0: No preferences migrated.
286 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList 290 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList
287 // 2: Browser window preferences migrated: kDevToolsSplitLocation and 291 // 2: Browser window preferences migrated: kDevToolsSplitLocation and
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1421 // Whether user-specified handlers for protocols and content types can be 1425 // Whether user-specified handlers for protocols and content types can be
1422 // specified. 1426 // specified.
1423 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1427 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1424 1428
1425 // 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
1426 // 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
1427 // by the cloud policy subsystem. 1431 // by the cloud policy subsystem.
1428 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1432 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1429 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1433 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1430 } // namespace prefs 1434 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/webui/options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698