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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 const char kEnableFastback[] = "enable-fastback"; | 443 const char kEnableFastback[] = "enable-fastback"; |
444 | 444 |
445 // By default, cookies are not allowed on file://. They are needed for | 445 // By default, cookies are not allowed on file://. They are needed for |
446 // testing, for example page cycler and layout tests. See bug 1157243. | 446 // testing, for example page cycler and layout tests. See bug 1157243. |
447 const char kEnableFileCookies[] = "enable-file-cookies"; | 447 const char kEnableFileCookies[] = "enable-file-cookies"; |
448 | 448 |
449 // Enable improved SafeBrowsing download protection. | 449 // Enable improved SafeBrowsing download protection. |
450 const char kEnableImprovedDownloadProtection[] = | 450 const char kEnableImprovedDownloadProtection[] = |
451 "enable-improved-download-protection"; | 451 "enable-improved-download-protection"; |
452 | 452 |
| 453 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will |
| 454 // try to figure out if pipelining can be used for a given host and request. |
| 455 // Without this flag, pipelining will never be used. |
| 456 const char kEnableHttpPipelining[] = "enable-http-pipelining"; |
| 457 |
453 // Enable the in-browser thumbnailing, which is more efficient than the | 458 // Enable the in-browser thumbnailing, which is more efficient than the |
454 // in-renderer thumbnailing, as we can use more information to determine | 459 // in-renderer thumbnailing, as we can use more information to determine |
455 // if we need to update thumbnails. | 460 // if we need to update thumbnails. |
456 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; | 461 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; |
457 | 462 |
458 // Enable IPv6 support, even if probes suggest that it may not be fully | 463 // Enable IPv6 support, even if probes suggest that it may not be fully |
459 // supported. Some probes may require internet connections, and this flag will | 464 // supported. Some probes may require internet connections, and this flag will |
460 // allow support independent of application testing. | 465 // allow support independent of application testing. |
461 // This flag overrides "disable-ipv6" which appears elswhere in this file. | 466 // This flag overrides "disable-ipv6" which appears elswhere in this file. |
462 const char kEnableIPv6[] = "enable-ipv6"; | 467 const char kEnableIPv6[] = "enable-ipv6"; |
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1240 | 1245 |
1241 // ----------------------------------------------------------------------------- | 1246 // ----------------------------------------------------------------------------- |
1242 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1247 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1243 // | 1248 // |
1244 // You were going to just dump your switches here, weren't you? Instead, | 1249 // You were going to just dump your switches here, weren't you? Instead, |
1245 // please put them in alphabetical order above, or in order inside the | 1250 // please put them in alphabetical order above, or in order inside the |
1246 // appropriate ifdef at the bottom. The order should match the header. | 1251 // appropriate ifdef at the bottom. The order should match the header. |
1247 // ----------------------------------------------------------------------------- | 1252 // ----------------------------------------------------------------------------- |
1248 | 1253 |
1249 } // namespace switches | 1254 } // namespace switches |
OLD | NEW |