Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 505 // Enables or disables showing extensions in the action box. | 505 // Enables or disables showing extensions in the action box. |
| 506 const char kExtensionsInActionBox[] = "extensions-in-action-box"; | 506 const char kExtensionsInActionBox[] = "extensions-in-action-box"; |
| 507 | 507 |
| 508 // By default, cookies are not allowed on file://. They are needed for testing, | 508 // By default, cookies are not allowed on file://. They are needed for testing, |
| 509 // for example page cycler and layout tests. See bug 1157243. | 509 // for example page cycler and layout tests. See bug 1157243. |
| 510 const char kEnableFileCookies[] = "enable-file-cookies"; | 510 const char kEnableFileCookies[] = "enable-file-cookies"; |
| 511 | 511 |
| 512 // Enables Google Now integration. | 512 // Enables Google Now integration. |
| 513 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; | 513 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; |
| 514 | 514 |
| 515 // Enable Instant extended API. | 515 // Enable Instant extended API. |
|
Peter Kasting
2013/03/05 06:19:57
Nit: You might want to add:
On mobile, this merel
Yusuf
2013/03/05 18:57:31
Done.
| |
| 516 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; | 516 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; |
| 517 | 517 |
| 518 // Enables IPv6 support, even if probes suggest that it may not be fully | 518 // Enables IPv6 support, even if probes suggest that it may not be fully |
| 519 // supported. Some probes may require internet connections, and this flag will | 519 // supported. Some probes may require internet connections, and this flag will |
| 520 // allow support independent of application testing. This flag overrides | 520 // allow support independent of application testing. This flag overrides |
| 521 // "disable-ipv6" which appears elswhere in this file. | 521 // "disable-ipv6" which appears elswhere in this file. |
| 522 const char kEnableIPv6[] = "enable-ipv6"; | 522 const char kEnableIPv6[] = "enable-ipv6"; |
| 523 | 523 |
| 524 /// Enables the IPC fuzzer for reliability testing | 524 /// Enables the IPC fuzzer for reliability testing |
| 525 const char kEnableIPCFuzzing[] = "enable-ipc-fuzzing"; | 525 const char kEnableIPCFuzzing[] = "enable-ipc-fuzzing"; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 595 // Enables the installation and usage of Portable Native Client. | 595 // Enables the installation and usage of Portable Native Client. |
| 596 const char kEnablePnacl[] = "enable-pnacl"; | 596 const char kEnablePnacl[] = "enable-pnacl"; |
| 597 | 597 |
| 598 // Enables tracking of tasks in profiler for viewing via about:profiler. | 598 // Enables tracking of tasks in profiler for viewing via about:profiler. |
| 599 // To predominantly disable tracking (profiling), use the command line switch: | 599 // To predominantly disable tracking (profiling), use the command line switch: |
| 600 // --enable-profiling=0 | 600 // --enable-profiling=0 |
| 601 // Some tracking will still take place at startup, but it will be turned off | 601 // Some tracking will still take place at startup, but it will be turned off |
| 602 // during chrome_browser_main. | 602 // during chrome_browser_main. |
| 603 const char kEnableProfiling[] = "enable-profiling"; | 603 const char kEnableProfiling[] = "enable-profiling"; |
| 604 | 604 |
| 605 // Enables query extraction in the omnibox. | |
| 606 const char kEnableQueryExtraction[] = "enable-query-extraction"; | |
| 607 | |
| 608 // Enables support for the QUIC protocol. This is a temporary testing flag. | 605 // Enables support for the QUIC protocol. This is a temporary testing flag. |
| 609 const char kEnableQuic[] = "enable-quic"; | 606 const char kEnableQuic[] = "enable-quic"; |
| 610 | 607 |
| 611 // Enables content settings based on host *and* plug-in in the user | 608 // Enables content settings based on host *and* plug-in in the user |
| 612 // preferences. | 609 // preferences. |
| 613 const char kEnableResourceContentSettings[] = | 610 const char kEnableResourceContentSettings[] = |
| 614 "enable-resource-content-settings"; | 611 "enable-resource-content-settings"; |
| 615 | 612 |
| 616 // Controls the support for SDCH filtering (dictionary based expansion of | 613 // Controls the support for SDCH filtering (dictionary based expansion of |
| 617 // content). By default SDCH filtering is enabled. To disable SDCH filtering, | 614 // content). By default SDCH filtering is enabled. To disable SDCH filtering, |
| (...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1675 | 1672 |
| 1676 // ----------------------------------------------------------------------------- | 1673 // ----------------------------------------------------------------------------- |
| 1677 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1674 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1678 // | 1675 // |
| 1679 // You were going to just dump your switches here, weren't you? Instead, please | 1676 // You were going to just dump your switches here, weren't you? Instead, please |
| 1680 // put them in alphabetical order above, or in order inside the appropriate | 1677 // put them in alphabetical order above, or in order inside the appropriate |
| 1681 // ifdef at the bottom. The order should match the header. | 1678 // ifdef at the bottom. The order should match the header. |
| 1682 // ----------------------------------------------------------------------------- | 1679 // ----------------------------------------------------------------------------- |
| 1683 | 1680 |
| 1684 } // namespace switches | 1681 } // namespace switches |
| OLD | NEW |