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