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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 // Comma-separated list of directories with component extensions to load. | 846 // Comma-separated list of directories with component extensions to load. |
847 const char kLoadComponentExtension[] = "load-component-extension"; | 847 const char kLoadComponentExtension[] = "load-component-extension"; |
848 | 848 |
849 // If present, disables the loading and application of cloud policy for | 849 // If present, disables the loading and application of cloud policy for |
850 // signed-in users. | 850 // signed-in users. |
851 const char kDisableCloudPolicyOnSignin[] = "disable-cloud-policy-on-signin"; | 851 const char kDisableCloudPolicyOnSignin[] = "disable-cloud-policy-on-signin"; |
852 | 852 |
853 // Loads an extension from the specified directory. | 853 // Loads an extension from the specified directory. |
854 const char kLoadExtension[] = "load-extension"; | 854 const char kLoadExtension[] = "load-extension"; |
855 | 855 |
856 // Loads the opencryptoki library into NSS at startup. This is only needed | |
857 // temporarily for developers who need to work on WiFi/VPN certificate code. | |
858 // | |
859 // TODO(gspencer): Remove this switch once cryptohomed work is finished: | |
860 // http://crosbug.com/12295 and http://crosbug.com/12304 | |
861 const char kLoadOpencryptoki[] = "load-opencryptoki"; | |
862 | |
863 // Enables displaying net log events on the command line, or writing the events | 856 // Enables displaying net log events on the command line, or writing the events |
864 // to a separate file if a file name is given. | 857 // to a separate file if a file name is given. |
865 const char kLogNetLog[] = "log-net-log"; | 858 const char kLogNetLog[] = "log-net-log"; |
866 | 859 |
867 // Uninstalls an extension with the specified extension id. | 860 // Uninstalls an extension with the specified extension id. |
868 const char kUninstallExtension[] = "uninstall-extension"; | 861 const char kUninstallExtension[] = "uninstall-extension"; |
869 | 862 |
870 // Starts the browser in managed mode. | 863 // Starts the browser in managed mode. |
871 const char kManaged[] = "managed"; | 864 const char kManaged[] = "managed"; |
872 | 865 |
(...skipping 808 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 |