| 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 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 913 // "--prerender-from-omnibox=auto". auto: Allow field trial selection. | 913 // "--prerender-from-omnibox=auto". auto: Allow field trial selection. |
| 914 const char kPrerenderFromOmniboxSwitchValueAuto[] = "auto"; | 914 const char kPrerenderFromOmniboxSwitchValueAuto[] = "auto"; |
| 915 // disabled: No prerendering. | 915 // disabled: No prerendering. |
| 916 const char kPrerenderFromOmniboxSwitchValueDisabled[] = "disabled"; | 916 const char kPrerenderFromOmniboxSwitchValueDisabled[] = "disabled"; |
| 917 // enabled: Guaranteed prerendering. | 917 // enabled: Guaranteed prerendering. |
| 918 const char kPrerenderFromOmniboxSwitchValueEnabled[] = "enabled"; | 918 const char kPrerenderFromOmniboxSwitchValueEnabled[] = "enabled"; |
| 919 // Controls speculative prerendering of pages, and content prefetching. Both | 919 // Controls speculative prerendering of pages, and content prefetching. Both |
| 920 // are dispatched from <link rel=prefetch href=...> elements. | 920 // are dispatched from <link rel=prefetch href=...> elements. |
| 921 const char kPrerenderMode[] = "prerender"; | 921 const char kPrerenderMode[] = "prerender"; |
| 922 // These are the values the kPrerenderMode switch may have, as in | 922 // These are the values the kPrerenderMode switch may have, as in |
| 923 // "--prerender=auto". | 923 // "--prerender=disabled". |
| 924 // auto: Allow field trial selection for prerender. | |
| 925 const char kPrerenderModeSwitchValueAuto[] = "auto"; | |
| 926 // disabled: No prerendering. | 924 // disabled: No prerendering. |
| 927 const char kPrerenderModeSwitchValueDisabled[] = "disabled"; | 925 const char kPrerenderModeSwitchValueDisabled[] = "disabled"; |
| 928 // enabled: Prerendering. | 926 // enabled: Prerendering. |
| 929 const char kPrerenderModeSwitchValueEnabled[] = "enabled"; | 927 const char kPrerenderModeSwitchValueEnabled[] = "enabled"; |
| 930 | 928 |
| 931 // Use IPv6 only for privet HTTP. | 929 // Use IPv6 only for privet HTTP. |
| 932 const char kPrivetIPv6Only[] = "privet-ipv6-only"; | 930 const char kPrivetIPv6Only[] = "privet-ipv6-only"; |
| 933 | 931 |
| 934 // Outputs the product version information and quit. Used as an internal api to | 932 // Outputs the product version information and quit. Used as an internal api to |
| 935 // detect the installed version of Chrome on Linux. | 933 // detect the installed version of Chrome on Linux. |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1418 | 1416 |
| 1419 // ----------------------------------------------------------------------------- | 1417 // ----------------------------------------------------------------------------- |
| 1420 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1418 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1421 // | 1419 // |
| 1422 // You were going to just dump your switches here, weren't you? Instead, please | 1420 // You were going to just dump your switches here, weren't you? Instead, please |
| 1423 // put them in alphabetical order above, or in order inside the appropriate | 1421 // put them in alphabetical order above, or in order inside the appropriate |
| 1424 // ifdef at the bottom. The order should match the header. | 1422 // ifdef at the bottom. The order should match the header. |
| 1425 // ----------------------------------------------------------------------------- | 1423 // ----------------------------------------------------------------------------- |
| 1426 | 1424 |
| 1427 } // namespace switches | 1425 } // namespace switches |
| OLD | NEW |