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/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 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
774 // Optional PEM private key is to use in signing packaged .crx. | 774 // Optional PEM private key is to use in signing packaged .crx. |
775 const char kPackExtensionKey[] = "pack-extension-key"; | 775 const char kPackExtensionKey[] = "pack-extension-key"; |
776 | 776 |
777 // Specifies the path to the user data folder for the parent profile. | 777 // Specifies the path to the user data folder for the parent profile. |
778 const char kParentProfile[] = "parent-profile"; | 778 const char kParentProfile[] = "parent-profile"; |
779 | 779 |
780 // Forces the PPAPI version of Flash (if it's being used) to run in the | 780 // Forces the PPAPI version of Flash (if it's being used) to run in the |
781 // renderer process rather than in a separate plugin process. | 781 // renderer process rather than in a separate plugin process. |
782 const char kPpapiFlashInProcess[] = "ppapi-flash-in-process"; | 782 const char kPpapiFlashInProcess[] = "ppapi-flash-in-process"; |
783 | 783 |
| 784 // Aggressively preload the default search engine's Instant URL, so it's ready |
| 785 // to receive queries. Only has an effect if Instant is turned on (via "Enable |
| 786 // Instant for faster searching and browsing" in Preferences -> Basics). |
| 787 const char kPreloadInstantSearch[] = "preload-instant-search"; |
| 788 |
784 // Controls speculative prerendering of pages, and content prefetching. Both | 789 // Controls speculative prerendering of pages, and content prefetching. Both |
785 // are dispatched from <link rel=prefetch href=...> elements. | 790 // are dispatched from <link rel=prefetch href=...> elements. |
786 const char kPrerender[] = "prerender"; | 791 const char kPrerender[] = "prerender"; |
787 // These are the values the switch may have, as in "--prerender=auto". | 792 // These are the values the switch may have, as in "--prerender=auto". |
788 // auto: Allow field trial selection in both prerender and prefetch. | 793 // auto: Allow field trial selection in both prerender and prefetch. |
789 const char kPrerenderSwitchValueAuto[] = "auto"; | 794 const char kPrerenderSwitchValueAuto[] = "auto"; |
790 // disabled: No prerendering or prefetching. | 795 // disabled: No prerendering or prefetching. |
791 const char kPrerenderSwitchValueDisabled[] = "disabled"; | 796 const char kPrerenderSwitchValueDisabled[] = "disabled"; |
792 // enabled: Both prerendering and prefetching. | 797 // enabled: Both prerendering and prefetching. |
793 const char kPrerenderSwitchValueEnabled[] = "enabled"; | 798 const char kPrerenderSwitchValueEnabled[] = "enabled"; |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1178 | 1183 |
1179 // ----------------------------------------------------------------------------- | 1184 // ----------------------------------------------------------------------------- |
1180 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1185 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1181 // | 1186 // |
1182 // You were going to just dump your switches here, weren't you? Instead, | 1187 // You were going to just dump your switches here, weren't you? Instead, |
1183 // please put them in alphabetical order above, or in order inside the | 1188 // please put them in alphabetical order above, or in order inside the |
1184 // appropriate ifdef at the bottom. The order should match the header. | 1189 // appropriate ifdef at the bottom. The order should match the header. |
1185 // ----------------------------------------------------------------------------- | 1190 // ----------------------------------------------------------------------------- |
1186 | 1191 |
1187 } // namespace switches | 1192 } // namespace switches |
OLD | NEW |