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

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

Issue 10933023: Control zero suggest with a pref, not a switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for clang compile error. Created 8 years, 3 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') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 // Double pref for a scaling factor used to slow down animations. 461 // Double pref for a scaling factor used to slow down animations.
462 const char kInstantAnimationScaleFactor[] = 462 const char kInstantAnimationScaleFactor[] =
463 "instant.animation_scale_factor"; 463 "instant.animation_scale_factor";
464 464
465 // Boolean pref indicating whether the instant confirm dialog has been shown. 465 // Boolean pref indicating whether the instant confirm dialog has been shown.
466 const char kInstantConfirmDialogShown[] = "instant.confirm_dialog_shown"; 466 const char kInstantConfirmDialogShown[] = "instant.confirm_dialog_shown";
467 467
468 // Boolean pref indicating if instant is enabled. 468 // Boolean pref indicating if instant is enabled.
469 const char kInstantEnabled[] = "instant.enabled"; 469 const char kInstantEnabled[] = "instant.enabled";
470 470
471 // Prefix URL for the (experimental) ZeroSuggest provider.
472 const char kExperimentalZeroSuggestUrlPrefix[] =
473 "instant.experimental_zero_suggest_url_prefix";
474
471 // Used to migrate preferences from local state to user preferences to 475 // Used to migrate preferences from local state to user preferences to
472 // enable multiple profiles. 476 // enable multiple profiles.
473 // BITMASK with possible values (see browser_prefs.cc for enum): 477 // BITMASK with possible values (see browser_prefs.cc for enum):
474 // 0: No preferences migrated. 478 // 0: No preferences migrated.
475 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList 479 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList
476 // 2: Browser window preferences migrated: kDevToolsSplitLocation and 480 // 2: Browser window preferences migrated: kDevToolsSplitLocation and
477 // kBrowserWindowPlacement 481 // kBrowserWindowPlacement
478 const char kMultipleProfilePrefMigration[] = 482 const char kMultipleProfilePrefMigration[] =
479 "local_state.multiple_profile_prefs_version"; 483 "local_state.multiple_profile_prefs_version";
480 484
(...skipping 1545 matching lines...) Expand 10 before | Expand all | Expand 10 after
2026 2030
2027 // Counts how many more times the 'profile on a network share' warning should be 2031 // Counts how many more times the 'profile on a network share' warning should be
2028 // shown to the user before the next silence period. 2032 // shown to the user before the next silence period.
2029 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 2033 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
2030 // Tracks the time of the last shown warning. Used to reset 2034 // Tracks the time of the last shown warning. Used to reset
2031 // |network_profile.warnings_left| after a silence period. 2035 // |network_profile.warnings_left| after a silence period.
2032 const char kNetworkProfileLastWarningTime[] = 2036 const char kNetworkProfileLastWarningTime[] =
2033 "network_profile.last_warning_time"; 2037 "network_profile.last_warning_time";
2034 2038
2035 } // namespace prefs 2039 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698