| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 | 698 |
| 699 // Specifies the flags passed to JS engine | 699 // Specifies the flags passed to JS engine |
| 700 const char kJavaScriptFlags[] = "js-flags"; | 700 const char kJavaScriptFlags[] = "js-flags"; |
| 701 | 701 |
| 702 // Used for testing - keeps browser alive after last browser window closes. | 702 // Used for testing - keeps browser alive after last browser window closes. |
| 703 const char kKeepAliveForTest[] = "keep-alive-for-test"; | 703 const char kKeepAliveForTest[] = "keep-alive-for-test"; |
| 704 | 704 |
| 705 // Load an extension from the specified directory. | 705 // Load an extension from the specified directory. |
| 706 const char kLoadExtension[] = "load-extension"; | 706 const char kLoadExtension[] = "load-extension"; |
| 707 | 707 |
| 708 // Load the opencryptoki library into NSS at startup. This is only |
| 709 // needed temporarily for developers who need to work on WiFi/VPN |
| 710 // certificate code. |
| 711 // TODO(gspencer): Remove this switch once cryptohomed work is finished: |
| 712 // http://crosbug.com/12295 and http://crosbug.com/12304 |
| 713 const char kLoadOpencryptoki[] = "load-opencryptoki"; |
| 714 |
| 708 // Uninstall an extension with the specified extension id. | 715 // Uninstall an extension with the specified extension id. |
| 709 const char kUninstallExtension[] = "uninstall-extension"; | 716 const char kUninstallExtension[] = "uninstall-extension"; |
| 710 | 717 |
| 711 // Make Chrome default browser | 718 // Make Chrome default browser |
| 712 const char kMakeDefaultBrowser[] = "make-default-browser"; | 719 const char kMakeDefaultBrowser[] = "make-default-browser"; |
| 713 | 720 |
| 714 // Forces the maximum disk space to be used by the media cache, in bytes. | 721 // Forces the maximum disk space to be used by the media cache, in bytes. |
| 715 const char kMediaCacheSize[] = "media-cache-size"; | 722 const char kMediaCacheSize[] = "media-cache-size"; |
| 716 | 723 |
| 717 // Enable dynamic loading of the Memory Profiler DLL, which will trace | 724 // Enable dynamic loading of the Memory Profiler DLL, which will trace |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1217 | 1224 |
| 1218 // ----------------------------------------------------------------------------- | 1225 // ----------------------------------------------------------------------------- |
| 1219 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1226 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1220 // | 1227 // |
| 1221 // You were going to just dump your switches here, weren't you? Instead, | 1228 // You were going to just dump your switches here, weren't you? Instead, |
| 1222 // please put them in alphabetical order above, or in order inside the | 1229 // please put them in alphabetical order above, or in order inside the |
| 1223 // appropriate ifdef at the bottom. The order should match the header. | 1230 // appropriate ifdef at the bottom. The order should match the header. |
| 1224 // ----------------------------------------------------------------------------- | 1231 // ----------------------------------------------------------------------------- |
| 1225 | 1232 |
| 1226 } // namespace switches | 1233 } // namespace switches |
| OLD | NEW |