| 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 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 851 // Comma-separated list of directories with component extensions to load. | 851 // Comma-separated list of directories with component extensions to load. |
| 852 const char kLoadComponentExtension[] = "load-component-extension"; | 852 const char kLoadComponentExtension[] = "load-component-extension"; |
| 853 | 853 |
| 854 // If present, disables the loading and application of cloud policy for | 854 // If present, disables the loading and application of cloud policy for |
| 855 // signed-in users. | 855 // signed-in users. |
| 856 const char kDisableCloudPolicyOnSignin[] = "disable-cloud-policy-on-signin"; | 856 const char kDisableCloudPolicyOnSignin[] = "disable-cloud-policy-on-signin"; |
| 857 | 857 |
| 858 // Loads an extension from the specified directory. | 858 // Loads an extension from the specified directory. |
| 859 const char kLoadExtension[] = "load-extension"; | 859 const char kLoadExtension[] = "load-extension"; |
| 860 | 860 |
| 861 // Loads the opencryptoki library into NSS at startup. This is only needed | |
| 862 // temporarily for developers who need to work on WiFi/VPN certificate code. | |
| 863 // | |
| 864 // TODO(gspencer): Remove this switch once cryptohomed work is finished: | |
| 865 // http://crosbug.com/12295 and http://crosbug.com/12304 | |
| 866 const char kLoadOpencryptoki[] = "load-opencryptoki"; | |
| 867 | |
| 868 // Enables displaying net log events on the command line, or writing the events | 861 // Enables displaying net log events on the command line, or writing the events |
| 869 // to a separate file if a file name is given. | 862 // to a separate file if a file name is given. |
| 870 const char kLogNetLog[] = "log-net-log"; | 863 const char kLogNetLog[] = "log-net-log"; |
| 871 | 864 |
| 872 // Uninstalls an extension with the specified extension id. | 865 // Uninstalls an extension with the specified extension id. |
| 873 const char kUninstallExtension[] = "uninstall-extension"; | 866 const char kUninstallExtension[] = "uninstall-extension"; |
| 874 | 867 |
| 875 // Starts the browser in managed mode. | 868 // Starts the browser in managed mode. |
| 876 const char kManaged[] = "managed"; | 869 const char kManaged[] = "managed"; |
| 877 | 870 |
| (...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1681 | 1674 |
| 1682 // ----------------------------------------------------------------------------- | 1675 // ----------------------------------------------------------------------------- |
| 1683 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1676 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1684 // | 1677 // |
| 1685 // You were going to just dump your switches here, weren't you? Instead, please | 1678 // You were going to just dump your switches here, weren't you? Instead, please |
| 1686 // put them in alphabetical order above, or in order inside the appropriate | 1679 // put them in alphabetical order above, or in order inside the appropriate |
| 1687 // ifdef at the bottom. The order should match the header. | 1680 // ifdef at the bottom. The order should match the header. |
| 1688 // ----------------------------------------------------------------------------- | 1681 // ----------------------------------------------------------------------------- |
| 1689 | 1682 |
| 1690 } // namespace switches | 1683 } // namespace switches |
| OLD | NEW |