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