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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 // Enable the fastback page cache. | 431 // Enable the fastback page cache. |
432 const char kEnableFastback[] = "enable-fastback"; | 432 const char kEnableFastback[] = "enable-fastback"; |
433 | 433 |
434 // By default, cookies are not allowed on file://. They are needed for | 434 // By default, cookies are not allowed on file://. They are needed for |
435 // testing, for example page cycler and layout tests. See bug 1157243. | 435 // testing, for example page cycler and layout tests. See bug 1157243. |
436 const char kEnableFileCookies[] = "enable-file-cookies"; | 436 const char kEnableFileCookies[] = "enable-file-cookies"; |
437 | 437 |
438 // Enable the JavaScript Full Screen API. | 438 // Enable the JavaScript Full Screen API. |
439 const char kEnableFullScreen[] = "enable-fullscreen"; | 439 const char kEnableFullScreen[] = "enable-fullscreen"; |
440 | 440 |
| 441 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will |
| 442 // try to figure out if pipelining can be used for a given host and request. |
| 443 // Without this flag, pipelining will never be used. |
| 444 const char kEnableHttpPipelining[] = "enable-http-pipelining"; |
| 445 |
441 // Enable the in-browser thumbnailing, which is more efficient than the | 446 // Enable the in-browser thumbnailing, which is more efficient than the |
442 // in-renderer thumbnailing, as we can use more information to determine | 447 // in-renderer thumbnailing, as we can use more information to determine |
443 // if we need to update thumbnails. | 448 // if we need to update thumbnails. |
444 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; | 449 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; |
445 | 450 |
446 // Enable IPv6 support, even if probes suggest that it may not be fully | 451 // Enable IPv6 support, even if probes suggest that it may not be fully |
447 // supported. Some probes may require internet connections, and this flag will | 452 // supported. Some probes may require internet connections, and this flag will |
448 // allow support independent of application testing. | 453 // allow support independent of application testing. |
449 // This flag overrides "disable-ipv6" which appears elswhere in this file. | 454 // This flag overrides "disable-ipv6" which appears elswhere in this file. |
450 const char kEnableIPv6[] = "enable-ipv6"; | 455 const char kEnableIPv6[] = "enable-ipv6"; |
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1230 | 1235 |
1231 // ----------------------------------------------------------------------------- | 1236 // ----------------------------------------------------------------------------- |
1232 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1237 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1233 // | 1238 // |
1234 // You were going to just dump your switches here, weren't you? Instead, | 1239 // You were going to just dump your switches here, weren't you? Instead, |
1235 // please put them in alphabetical order above, or in order inside the | 1240 // please put them in alphabetical order above, or in order inside the |
1236 // appropriate ifdef at the bottom. The order should match the header. | 1241 // appropriate ifdef at the bottom. The order should match the header. |
1237 // ----------------------------------------------------------------------------- | 1242 // ----------------------------------------------------------------------------- |
1238 | 1243 |
1239 } // namespace switches | 1244 } // namespace switches |
OLD | NEW |