| 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. On mobile, this merely enables query extraction, | 
|  | 516 // not the rest of the instant-extended functionality. | 
| 516 const char kEnableInstantExtendedAPI[]      = "enable-instant-extended-api"; | 517 const char kEnableInstantExtendedAPI[]      = "enable-instant-extended-api"; | 
| 517 | 518 | 
| 518 // Enables IPv6 support, even if probes suggest that it may not be fully | 519 // 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 | 520 // supported. Some probes may require internet connections, and this flag will | 
| 520 // allow support independent of application testing. This flag overrides | 521 // allow support independent of application testing. This flag overrides | 
| 521 // "disable-ipv6" which appears elswhere in this file. | 522 // "disable-ipv6" which appears elswhere in this file. | 
| 522 const char kEnableIPv6[]                    = "enable-ipv6"; | 523 const char kEnableIPv6[]                    = "enable-ipv6"; | 
| 523 | 524 | 
| 524 /// Enables the IPC fuzzer for reliability testing | 525 /// Enables the IPC fuzzer for reliability testing | 
| 525 const char kEnableIPCFuzzing[]              = "enable-ipc-fuzzing"; | 526 const char kEnableIPCFuzzing[]              = "enable-ipc-fuzzing"; | 
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 592 // Enables the installation and usage of Portable Native Client. | 593 // Enables the installation and usage of Portable Native Client. | 
| 593 const char kEnablePnacl[]                   = "enable-pnacl"; | 594 const char kEnablePnacl[]                   = "enable-pnacl"; | 
| 594 | 595 | 
| 595 // Enables tracking of tasks in profiler for viewing via about:profiler. | 596 // Enables tracking of tasks in profiler for viewing via about:profiler. | 
| 596 // To predominantly disable tracking (profiling), use the command line switch: | 597 // To predominantly disable tracking (profiling), use the command line switch: | 
| 597 // --enable-profiling=0 | 598 // --enable-profiling=0 | 
| 598 // Some tracking will still take place at startup, but it will be turned off | 599 // Some tracking will still take place at startup, but it will be turned off | 
| 599 // during chrome_browser_main. | 600 // during chrome_browser_main. | 
| 600 const char kEnableProfiling[]               = "enable-profiling"; | 601 const char kEnableProfiling[]               = "enable-profiling"; | 
| 601 | 602 | 
| 602 // Enables query extraction in the omnibox. |  | 
| 603 const char kEnableQueryExtraction[]         = "enable-query-extraction"; |  | 
| 604 |  | 
| 605 // Enables support for the QUIC protocol.  This is a temporary testing flag. | 603 // Enables support for the QUIC protocol.  This is a temporary testing flag. | 
| 606 const char kEnableQuic[]                    = "enable-quic"; | 604 const char kEnableQuic[]                    = "enable-quic"; | 
| 607 | 605 | 
| 608 // Enables content settings based on host *and* plug-in in the user | 606 // Enables content settings based on host *and* plug-in in the user | 
| 609 // preferences. | 607 // preferences. | 
| 610 const char kEnableResourceContentSettings[] = | 608 const char kEnableResourceContentSettings[] = | 
| 611     "enable-resource-content-settings"; | 609     "enable-resource-content-settings"; | 
| 612 | 610 | 
| 613 // Controls the support for SDCH filtering (dictionary based expansion of | 611 // Controls the support for SDCH filtering (dictionary based expansion of | 
| 614 // content). By default SDCH filtering is enabled. To disable SDCH filtering, | 612 // content). By default SDCH filtering is enabled. To disable SDCH filtering, | 
| (...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1679 | 1677 | 
| 1680 // ----------------------------------------------------------------------------- | 1678 // ----------------------------------------------------------------------------- | 
| 1681 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1679 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 
| 1682 // | 1680 // | 
| 1683 // You were going to just dump your switches here, weren't you? Instead, please | 1681 // You were going to just dump your switches here, weren't you? Instead, please | 
| 1684 // put them in alphabetical order above, or in order inside the appropriate | 1682 // put them in alphabetical order above, or in order inside the appropriate | 
| 1685 // ifdef at the bottom. The order should match the header. | 1683 // ifdef at the bottom. The order should match the header. | 
| 1686 // ----------------------------------------------------------------------------- | 1684 // ----------------------------------------------------------------------------- | 
| 1687 | 1685 | 
| 1688 }  // namespace switches | 1686 }  // namespace switches | 
| OLD | NEW | 
|---|