| 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 // Enable experimental timeline API. | 453 // Enable experimental timeline API. |
| 454 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; | 454 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; |
| 455 | 455 |
| 456 // Enable the fastback page cache. | 456 // Enable the fastback page cache. |
| 457 const char kEnableFastback[] = "enable-fastback"; | 457 const char kEnableFastback[] = "enable-fastback"; |
| 458 | 458 |
| 459 // By default, cookies are not allowed on file://. They are needed for | 459 // By default, cookies are not allowed on file://. They are needed for |
| 460 // testing, for example page cycler and layout tests. See bug 1157243. | 460 // testing, for example page cycler and layout tests. See bug 1157243. |
| 461 const char kEnableFileCookies[] = "enable-file-cookies"; | 461 const char kEnableFileCookies[] = "enable-file-cookies"; |
| 462 | 462 |
| 463 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will |
| 464 // try to figure out if pipelining can be used for a given host and request. |
| 465 // Without this flag, pipelining will never be used. |
| 466 const char kEnableHttpPipelining[] = "enable-http-pipelining"; |
| 467 |
| 463 // Enable the in-browser thumbnailing, which is more efficient than the | 468 // Enable the in-browser thumbnailing, which is more efficient than the |
| 464 // in-renderer thumbnailing, as we can use more information to determine | 469 // in-renderer thumbnailing, as we can use more information to determine |
| 465 // if we need to update thumbnails. | 470 // if we need to update thumbnails. |
| 466 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; | 471 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; |
| 467 | 472 |
| 468 // Enables web developers to initiate inline installation of Chrome Web Store | 473 // Enables web developers to initiate inline installation of Chrome Web Store |
| 469 // items. | 474 // items. |
| 470 const char kEnableInlineWebstoreInstall[] = "enable-inline-webstore-install"; | 475 const char kEnableInlineWebstoreInstall[] = "enable-inline-webstore-install"; |
| 471 | 476 |
| 472 // Enable IPv6 support, even if probes suggest that it may not be fully | 477 // Enable IPv6 support, even if probes suggest that it may not be fully |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1261 | 1266 |
| 1262 // ----------------------------------------------------------------------------- | 1267 // ----------------------------------------------------------------------------- |
| 1263 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1268 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1264 // | 1269 // |
| 1265 // You were going to just dump your switches here, weren't you? Instead, | 1270 // You were going to just dump your switches here, weren't you? Instead, |
| 1266 // please put them in alphabetical order above, or in order inside the | 1271 // please put them in alphabetical order above, or in order inside the |
| 1267 // appropriate ifdef at the bottom. The order should match the header. | 1272 // appropriate ifdef at the bottom. The order should match the header. |
| 1268 // ----------------------------------------------------------------------------- | 1273 // ----------------------------------------------------------------------------- |
| 1269 | 1274 |
| 1270 } // namespace switches | 1275 } // namespace switches |
| OLD | NEW |