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 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 // The field trial is forced into the SUGGEST_EXPERIMENT group. | 725 // The field trial is forced into the SUGGEST_EXPERIMENT group. |
726 const char kInstantFieldTrialSuggest[] = "suggest"; | 726 const char kInstantFieldTrialSuggest[] = "suggest"; |
727 | 727 |
728 // URL to use for instant. If specified this overrides the url from the | 728 // URL to use for instant. If specified this overrides the url from the |
729 // TemplateURL. | 729 // TemplateURL. |
730 const char kInstantURL[] = "instant-url"; | 730 const char kInstantURL[] = "instant-url"; |
731 | 731 |
732 // Used for testing - keeps browser alive after last browser window closes. | 732 // Used for testing - keeps browser alive after last browser window closes. |
733 const char kKeepAliveForTest[] = "keep-alive-for-test"; | 733 const char kKeepAliveForTest[] = "keep-alive-for-test"; |
734 | 734 |
| 735 // Comma-separated list of directories with component extensions to load. |
| 736 const char kLoadComponentExtension[] = "load-component-extension"; |
| 737 |
735 // Loads an extension from the specified directory. | 738 // Loads an extension from the specified directory. |
736 const char kLoadExtension[] = "load-extension"; | 739 const char kLoadExtension[] = "load-extension"; |
737 | 740 |
738 // Loads the opencryptoki library into NSS at startup. This is only needed | 741 // Loads the opencryptoki library into NSS at startup. This is only needed |
739 // temporarily for developers who need to work on WiFi/VPN certificate code. | 742 // temporarily for developers who need to work on WiFi/VPN certificate code. |
740 // | 743 // |
741 // TODO(gspencer): Remove this switch once cryptohomed work is finished: | 744 // TODO(gspencer): Remove this switch once cryptohomed work is finished: |
742 // http://crosbug.com/12295 and http://crosbug.com/12304 | 745 // http://crosbug.com/12295 and http://crosbug.com/12304 |
743 const char kLoadOpencryptoki[] = "load-opencryptoki"; | 746 const char kLoadOpencryptoki[] = "load-opencryptoki"; |
744 | 747 |
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1266 const char kClearTokenService[] = "clear-token-service"; | 1269 const char kClearTokenService[] = "clear-token-service"; |
1267 | 1270 |
1268 // Sets a token in the token service, for testing. | 1271 // Sets a token in the token service, for testing. |
1269 const char kSetToken[] = "set-token"; | 1272 const char kSetToken[] = "set-token"; |
1270 | 1273 |
1271 // Debug-only switch to specify which websocket live experiment host to be | 1274 // Debug-only switch to specify which websocket live experiment host to be |
1272 // used. If host is specified, it also makes initial delay shorter (5 min to 5 | 1275 // used. If host is specified, it also makes initial delay shorter (5 min to 5 |
1273 // sec) to make it faster to test websocket live experiment code. | 1276 // sec) to make it faster to test websocket live experiment code. |
1274 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host"; | 1277 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host"; |
1275 | 1278 |
1276 // Debug only switch to give access to all private extension APIs to any | |
1277 // non-component extension that is requesting it. | |
1278 const char kExposePrivateExtensionApi[] = "expose-private-extension-api"; | |
1279 | |
1280 // Enables overriding the path of file manager extension. | 1279 // Enables overriding the path of file manager extension. |
1281 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; | 1280 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; |
1282 #endif // NDEBUG | 1281 #endif // NDEBUG |
1283 | 1282 |
1284 // Disables print preview (Not exposed via about:flags. Only used for testing.) | 1283 // Disables print preview (Not exposed via about:flags. Only used for testing.) |
1285 const char kDisablePrintPreview[] = "disable-print-preview"; | 1284 const char kDisablePrintPreview[] = "disable-print-preview"; |
1286 | 1285 |
1287 // Enables print preview (no PDF viewer, thus not supported with Chromium). | 1286 // Enables print preview (no PDF viewer, thus not supported with Chromium). |
1288 // kDisablePrintPreview overrides this. | 1287 // kDisablePrintPreview overrides this. |
1289 const char kEnablePrintPreview[] = "enable-print-preview"; | 1288 const char kEnablePrintPreview[] = "enable-print-preview"; |
(...skipping 14 matching lines...) Expand all Loading... |
1304 | 1303 |
1305 // ----------------------------------------------------------------------------- | 1304 // ----------------------------------------------------------------------------- |
1306 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1305 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1307 // | 1306 // |
1308 // You were going to just dump your switches here, weren't you? Instead, please | 1307 // You were going to just dump your switches here, weren't you? Instead, please |
1309 // put them in alphabetical order above, or in order inside the appropriate | 1308 // put them in alphabetical order above, or in order inside the appropriate |
1310 // ifdef at the bottom. The order should match the header. | 1309 // ifdef at the bottom. The order should match the header. |
1311 // ----------------------------------------------------------------------------- | 1310 // ----------------------------------------------------------------------------- |
1312 | 1311 |
1313 } // namespace switches | 1312 } // namespace switches |
OLD | NEW |