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

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

Issue 10260020: Make Omnibox HistoryURL Provider always aggressive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reordered EXPECT_GT to EXPECT_LT. Created 8 years, 7 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/chrome_switches.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/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 // user needs to re-authenticate. 901 // user needs to re-authenticate.
902 const char kNotifyCloudPrintTokenExpired[] = "notify-cp-token-expired"; 902 const char kNotifyCloudPrintTokenExpired[] = "notify-cp-token-expired";
903 903
904 // Shows a [+] at the end of apps pages on the NTP. 904 // Shows a [+] at the end of apps pages on the NTP.
905 const char kNtpAppInstallHint[] = "ntp-app-install-hint"; 905 const char kNtpAppInstallHint[] = "ntp-app-install-hint";
906 906
907 // Specifies the maximum number of threads to use for running the Proxy 907 // Specifies the maximum number of threads to use for running the Proxy
908 // Autoconfig (PAC) script. 908 // Autoconfig (PAC) script.
909 const char kNumPacThreads[] = "num-pac-threads"; 909 const char kNumPacThreads[] = "num-pac-threads";
910 910
911 // Controls whether the omnibox's HistoryURL provider is aggressive.
912 const char kOmniboxAggressiveHistoryURL[] =
913 "omnibox-aggressive-with-history-url";
914 // The values the kOmniboxAggressiveHistoryURL switch may have, as in
915 // "--omnibox-aggressive-with-history-url=auto".
916 // auto: Allow field trial selection.
917 const char kOmniboxAggressiveHistoryURLAuto[] = "auto";
918 // enabled: always aggressive.
919 const char kOmniboxAggressiveHistoryURLEnabled[] = "enabled";
920 // disabled: never aggressive ( == current behavior as of 1/2012).
921 const char kOmniboxAggressiveHistoryURLDisabled[] = "disabled";
922
923 // Controls whether the omnibox's HistoryQuickProvider is allowed to 911 // Controls whether the omnibox's HistoryQuickProvider is allowed to
924 // inline suggestions. 912 // inline suggestions.
925 const char kOmniboxInlineHistoryQuickProvider[] = 913 const char kOmniboxInlineHistoryQuickProvider[] =
926 "omnibox-inline-history-quick-provider-allowed"; 914 "omnibox-inline-history-quick-provider-allowed";
927 // The values the kOmniboxInlineHistoryQuickProvider switch may have, as in 915 // The values the kOmniboxInlineHistoryQuickProvider switch may have, as in
928 // "--omnibox-inline-history-quick-provider-allowed=1" 916 // "--omnibox-inline-history-quick-provider-allowed=1"
929 // allowed: if HistoryQuickProvider thinks it appropriate, it can inline 917 // allowed: if HistoryQuickProvider thinks it appropriate, it can inline
930 // ( == current behavior as of 2/2012). 918 // ( == current behavior as of 2/2012).
931 const char kOmniboxInlineHistoryQuickProviderAllowed[] = "1"; 919 const char kOmniboxInlineHistoryQuickProviderAllowed[] = "1";
932 // prohibited: never inline matches 920 // prohibited: never inline matches
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
1415 1403
1416 // ----------------------------------------------------------------------------- 1404 // -----------------------------------------------------------------------------
1417 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1405 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1418 // 1406 //
1419 // You were going to just dump your switches here, weren't you? Instead, please 1407 // You were going to just dump your switches here, weren't you? Instead, please
1420 // put them in alphabetical order above, or in order inside the appropriate 1408 // put them in alphabetical order above, or in order inside the appropriate
1421 // ifdef at the bottom. The order should match the header. 1409 // ifdef at the bottom. The order should match the header.
1422 // ----------------------------------------------------------------------------- 1410 // -----------------------------------------------------------------------------
1423 1411
1424 } // namespace switches 1412 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698