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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 const char kEnableFastback[] = "enable-fastback"; | 451 const char kEnableFastback[] = "enable-fastback"; |
452 | 452 |
453 // By default, cookies are not allowed on file://. They are needed for | 453 // By default, cookies are not allowed on file://. They are needed for |
454 // testing, for example page cycler and layout tests. See bug 1157243. | 454 // testing, for example page cycler and layout tests. See bug 1157243. |
455 const char kEnableFileCookies[] = "enable-file-cookies"; | 455 const char kEnableFileCookies[] = "enable-file-cookies"; |
456 | 456 |
457 // Enable improved SafeBrowsing download protection. | 457 // Enable improved SafeBrowsing download protection. |
458 const char kEnableImprovedDownloadProtection[] = | 458 const char kEnableImprovedDownloadProtection[] = |
459 "enable-improved-download-protection"; | 459 "enable-improved-download-protection"; |
460 | 460 |
| 461 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will |
| 462 // try to figure out if pipelining can be used for a given host and request. |
| 463 // Without this flag, pipelining will never be used. |
| 464 const char kEnableHttpPipelining[] = "enable-http-pipelining"; |
| 465 |
461 // Enable the in-browser thumbnailing, which is more efficient than the | 466 // Enable the in-browser thumbnailing, which is more efficient than the |
462 // in-renderer thumbnailing, as we can use more information to determine | 467 // in-renderer thumbnailing, as we can use more information to determine |
463 // if we need to update thumbnails. | 468 // if we need to update thumbnails. |
464 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; | 469 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; |
465 | 470 |
466 // Enable IPv6 support, even if probes suggest that it may not be fully | 471 // Enable IPv6 support, even if probes suggest that it may not be fully |
467 // supported. Some probes may require internet connections, and this flag will | 472 // supported. Some probes may require internet connections, and this flag will |
468 // allow support independent of application testing. | 473 // allow support independent of application testing. |
469 // This flag overrides "disable-ipv6" which appears elswhere in this file. | 474 // This flag overrides "disable-ipv6" which appears elswhere in this file. |
470 const char kEnableIPv6[] = "enable-ipv6"; | 475 const char kEnableIPv6[] = "enable-ipv6"; |
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1265 | 1270 |
1266 // ----------------------------------------------------------------------------- | 1271 // ----------------------------------------------------------------------------- |
1267 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1272 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1268 // | 1273 // |
1269 // You were going to just dump your switches here, weren't you? Instead, | 1274 // You were going to just dump your switches here, weren't you? Instead, |
1270 // please put them in alphabetical order above, or in order inside the | 1275 // please put them in alphabetical order above, or in order inside the |
1271 // appropriate ifdef at the bottom. The order should match the header. | 1276 // appropriate ifdef at the bottom. The order should match the header. |
1272 // ----------------------------------------------------------------------------- | 1277 // ----------------------------------------------------------------------------- |
1273 | 1278 |
1274 } // namespace switches | 1279 } // namespace switches |
OLD | NEW |