| 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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 768 // Controls speculative prerendering of pages, and content prefetching. Both | 768 // Controls speculative prerendering of pages, and content prefetching. Both |
| 769 // are dispatched from <link rel=prefetch href=...> elements. | 769 // are dispatched from <link rel=prefetch href=...> elements. |
| 770 const char kPrerenderMode[] = "prerender"; | 770 const char kPrerenderMode[] = "prerender"; |
| 771 | 771 |
| 772 // These are the values the kPrerenderMode switch may have, as in | 772 // These are the values the kPrerenderMode switch may have, as in |
| 773 // "--prerender=disabled". | 773 // "--prerender=disabled". |
| 774 // disabled: No prerendering. | 774 // disabled: No prerendering. |
| 775 const char kPrerenderModeSwitchValueDisabled[] = "disabled"; | 775 const char kPrerenderModeSwitchValueDisabled[] = "disabled"; |
| 776 // enabled: Prerendering. | 776 // enabled: Prerendering. |
| 777 const char kPrerenderModeSwitchValueEnabled[] = "enabled"; | 777 const char kPrerenderModeSwitchValueEnabled[] = "enabled"; |
| 778 // prefetch: NoState Prefetch experiment. |
| 779 const char kPrerenderModeSwitchValuePrefetch[] = "prefetch"; |
| 778 | 780 |
| 779 // Use IPv6 only for privet HTTP. | 781 // Use IPv6 only for privet HTTP. |
| 780 const char kPrivetIPv6Only[] = "privet-ipv6-only"; | 782 const char kPrivetIPv6Only[] = "privet-ipv6-only"; |
| 781 | 783 |
| 782 // Outputs the product version information and quit. Used as an internal api to | 784 // Outputs the product version information and quit. Used as an internal api to |
| 783 // detect the installed version of Chrome on Linux. | 785 // detect the installed version of Chrome on Linux. |
| 784 const char kProductVersion[] = "product-version"; | 786 const char kProductVersion[] = "product-version"; |
| 785 | 787 |
| 786 // Selects directory of profile to associate with the first browser launched. | 788 // Selects directory of profile to associate with the first browser launched. |
| 787 const char kProfileDirectory[] = "profile-directory"; | 789 const char kProfileDirectory[] = "profile-directory"; |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1320 | 1322 |
| 1321 // ----------------------------------------------------------------------------- | 1323 // ----------------------------------------------------------------------------- |
| 1322 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1324 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1323 // | 1325 // |
| 1324 // You were going to just dump your switches here, weren't you? Instead, please | 1326 // You were going to just dump your switches here, weren't you? Instead, please |
| 1325 // put them in alphabetical order above, or in order inside the appropriate | 1327 // put them in alphabetical order above, or in order inside the appropriate |
| 1326 // ifdef at the bottom. The order should match the header. | 1328 // ifdef at the bottom. The order should match the header. |
| 1327 // ----------------------------------------------------------------------------- | 1329 // ----------------------------------------------------------------------------- |
| 1328 | 1330 |
| 1329 } // namespace switches | 1331 } // namespace switches |
| OLD | NEW |