| 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 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 // Enables tracking of tasks in profiler for viewing via about:profiler. | 621 // Enables tracking of tasks in profiler for viewing via about:profiler. |
| 622 // To predominantly disable tracking (profiling), use the command line switch: | 622 // To predominantly disable tracking (profiling), use the command line switch: |
| 623 // --enable-profiling=0 | 623 // --enable-profiling=0 |
| 624 // Some tracking will still take place at startup, but it will be turned off | 624 // Some tracking will still take place at startup, but it will be turned off |
| 625 // during chrome_browser_main. | 625 // during chrome_browser_main. |
| 626 const char kEnableProfiling[] = "enable-profiling"; | 626 const char kEnableProfiling[] = "enable-profiling"; |
| 627 | 627 |
| 628 // Enables support for the QUIC protocol. This is a temporary testing flag. | 628 // Enables support for the QUIC protocol. This is a temporary testing flag. |
| 629 const char kEnableQuic[] = "enable-quic"; | 629 const char kEnableQuic[] = "enable-quic"; |
| 630 | 630 |
| 631 // Enables support in chrome://settings to reset settings in your profile |
| 632 // that are often touched by malware. |
| 633 const char kEnableResetProfileSettings[] = "enable-reset-profile-settings"; |
| 634 |
| 631 // Enables content settings based on host *and* plug-in in the user | 635 // Enables content settings based on host *and* plug-in in the user |
| 632 // preferences. | 636 // preferences. |
| 633 const char kEnableResourceContentSettings[] = | 637 const char kEnableResourceContentSettings[] = |
| 634 "enable-resource-content-settings"; | 638 "enable-resource-content-settings"; |
| 635 | 639 |
| 636 // Controls the support for SDCH filtering (dictionary based expansion of | 640 // Controls the support for SDCH filtering (dictionary based expansion of |
| 637 // content). By default SDCH filtering is enabled. To disable SDCH filtering, | 641 // content). By default SDCH filtering is enabled. To disable SDCH filtering, |
| 638 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 642 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
| 639 // supported server-side for searches on google.com. | 643 // supported server-side for searches on google.com. |
| 640 const char kEnableSdch[] = "enable-sdch"; | 644 const char kEnableSdch[] = "enable-sdch"; |
| (...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1593 | 1597 |
| 1594 // ----------------------------------------------------------------------------- | 1598 // ----------------------------------------------------------------------------- |
| 1595 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1599 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1596 // | 1600 // |
| 1597 // You were going to just dump your switches here, weren't you? Instead, please | 1601 // You were going to just dump your switches here, weren't you? Instead, please |
| 1598 // put them in alphabetical order above, or in order inside the appropriate | 1602 // put them in alphabetical order above, or in order inside the appropriate |
| 1599 // ifdef at the bottom. The order should match the header. | 1603 // ifdef at the bottom. The order should match the header. |
| 1600 // ----------------------------------------------------------------------------- | 1604 // ----------------------------------------------------------------------------- |
| 1601 | 1605 |
| 1602 } // namespace switches | 1606 } // namespace switches |
| OLD | NEW |