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