| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |