| 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 // Enables experimental timeline API. | 478 // Enables experimental timeline API. |
| 479 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; | 479 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; |
| 480 | 480 |
| 481 // Enables the fastback page cache. | 481 // Enables the fastback page cache. |
| 482 const char kEnableFastback[] = "enable-fastback"; | 482 const char kEnableFastback[] = "enable-fastback"; |
| 483 | 483 |
| 484 // By default, cookies are not allowed on file://. They are needed for testing, | 484 // By default, cookies are not allowed on file://. They are needed for testing, |
| 485 // for example page cycler and layout tests. See bug 1157243. | 485 // for example page cycler and layout tests. See bug 1157243. |
| 486 const char kEnableFileCookies[] = "enable-file-cookies"; | 486 const char kEnableFileCookies[] = "enable-file-cookies"; |
| 487 | 487 |
| 488 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will |
| 489 // try to figure out if pipelining can be used for a given host and request. |
| 490 // Without this flag, pipelining will never be used. |
| 491 const char kEnableHttpPipelining[] = "enable-http-pipelining"; |
| 492 |
| 488 // Enables the in-browser thumbnailing, which is more efficient than the | 493 // Enables the in-browser thumbnailing, which is more efficient than the |
| 489 // in-renderer thumbnailing, as we can use more information to determine if we | 494 // in-renderer thumbnailing, as we can use more information to determine if we |
| 490 // need to update thumbnails. | 495 // need to update thumbnails. |
| 491 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; | 496 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; |
| 492 | 497 |
| 493 // Enables IPv6 support, even if probes suggest that it may not be fully | 498 // Enables IPv6 support, even if probes suggest that it may not be fully |
| 494 // supported. Some probes may require internet connections, and this flag will | 499 // supported. Some probes may require internet connections, and this flag will |
| 495 // allow support independent of application testing. This flag overrides | 500 // allow support independent of application testing. This flag overrides |
| 496 // "disable-ipv6" which appears elswhere in this file. | 501 // "disable-ipv6" which appears elswhere in this file. |
| 497 const char kEnableIPv6[] = "enable-ipv6"; | 502 const char kEnableIPv6[] = "enable-ipv6"; |
| (...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1300 | 1305 |
| 1301 // ----------------------------------------------------------------------------- | 1306 // ----------------------------------------------------------------------------- |
| 1302 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1307 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1303 // | 1308 // |
| 1304 // You were going to just dump your switches here, weren't you? Instead, please | 1309 // You were going to just dump your switches here, weren't you? Instead, please |
| 1305 // put them in alphabetical order above, or in order inside the appropriate | 1310 // put them in alphabetical order above, or in order inside the appropriate |
| 1306 // ifdef at the bottom. The order should match the header. | 1311 // ifdef at the bottom. The order should match the header. |
| 1307 // ----------------------------------------------------------------------------- | 1312 // ----------------------------------------------------------------------------- |
| 1308 | 1313 |
| 1309 } // namespace switches | 1314 } // namespace switches |
| OLD | NEW |