| 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 683 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 694 | 694 | 
| 695 // Disables the usage of Portable Native Client. | 695 // Disables the usage of Portable Native Client. | 
| 696 const char kDisablePnacl[]                  = "disable-pnacl"; | 696 const char kDisablePnacl[]                  = "disable-pnacl"; | 
| 697 | 697 | 
| 698 // Disables crash throttling for Portable Native Client. | 698 // Disables crash throttling for Portable Native Client. | 
| 699 const char kDisablePnaclCrashThrottling[]   = "disable-pnacl-crash-throttling"; | 699 const char kDisablePnaclCrashThrottling[]   = "disable-pnacl-crash-throttling"; | 
| 700 | 700 | 
| 701 // Disables the installation of Portable Native Client. | 701 // Disables the installation of Portable Native Client. | 
| 702 const char kDisablePnaclInstall[]           = "disable-pnacl-install"; | 702 const char kDisablePnaclInstall[]           = "disable-pnacl-install"; | 
| 703 | 703 | 
| 704 // Enables the proactive populating of the disk cache with Web resources that |  | 
| 705 // are likely to be needed in future page fetches. |  | 
| 706 const char kEnablePrecache[]                = "enable-precache"; |  | 
| 707 |  | 
| 708 // Enables tracking of tasks in profiler for viewing via about:profiler. | 704 // Enables tracking of tasks in profiler for viewing via about:profiler. | 
| 709 // To predominantly disable tracking (profiling), use the command line switch: | 705 // To predominantly disable tracking (profiling), use the command line switch: | 
| 710 // --enable-profiling=0 | 706 // --enable-profiling=0 | 
| 711 // Some tracking will still take place at startup, but it will be turned off | 707 // Some tracking will still take place at startup, but it will be turned off | 
| 712 // during chrome_browser_main. | 708 // during chrome_browser_main. | 
| 713 const char kEnableProfiling[]               = "enable-profiling"; | 709 const char kEnableProfiling[]               = "enable-profiling"; | 
| 714 | 710 | 
| 715 // Enables support for the QUIC protocol.  This is a temporary testing flag. | 711 // Enables support for the QUIC protocol.  This is a temporary testing flag. | 
| 716 const char kEnableQuic[]                    = "enable-quic"; | 712 const char kEnableQuic[]                    = "enable-quic"; | 
| 717 | 713 | 
| (...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1669 | 1665 | 
| 1670 // ----------------------------------------------------------------------------- | 1666 // ----------------------------------------------------------------------------- | 
| 1671 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1667 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 
| 1672 // | 1668 // | 
| 1673 // You were going to just dump your switches here, weren't you? Instead, please | 1669 // You were going to just dump your switches here, weren't you? Instead, please | 
| 1674 // put them in alphabetical order above, or in order inside the appropriate | 1670 // put them in alphabetical order above, or in order inside the appropriate | 
| 1675 // ifdef at the bottom. The order should match the header. | 1671 // ifdef at the bottom. The order should match the header. | 
| 1676 // ----------------------------------------------------------------------------- | 1672 // ----------------------------------------------------------------------------- | 
| 1677 | 1673 | 
| 1678 }  // namespace switches | 1674 }  // namespace switches | 
| OLD | NEW | 
|---|