| 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 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 913 // Optional PEM private key is to use in signing packaged .crx. | 913 // Optional PEM private key is to use in signing packaged .crx. |
| 914 const char kPackExtensionKey[] = "pack-extension-key"; | 914 const char kPackExtensionKey[] = "pack-extension-key"; |
| 915 | 915 |
| 916 // Specifies the path to the user data folder for the parent profile. | 916 // Specifies the path to the user data folder for the parent profile. |
| 917 const char kParentProfile[] = "parent-profile"; | 917 const char kParentProfile[] = "parent-profile"; |
| 918 | 918 |
| 919 // Read previously recorded data from the cache. Only cached data is read. | 919 // Read previously recorded data from the cache. Only cached data is read. |
| 920 // See kRecordMode. | 920 // See kRecordMode. |
| 921 const char kPlaybackMode[] = "playback-mode"; | 921 const char kPlaybackMode[] = "playback-mode"; |
| 922 | 922 |
| 923 // Specifies the plugin data directory, which is where plugins (Gears | |
| 924 // specifically) will store its state. | |
| 925 const char kPluginDataDir[] = "plugin-data-dir"; | |
| 926 | |
| 927 // Specifies a command that should be used to launch the plugin process. Useful | 923 // Specifies a command that should be used to launch the plugin process. Useful |
| 928 // for running the plugin process through purify or quantify. Ex: | 924 // for running the plugin process through purify or quantify. Ex: |
| 929 // --plugin-launcher="path\to\purify /Run=yes" | 925 // --plugin-launcher="path\to\purify /Run=yes" |
| 930 const char kPluginLauncher[] = "plugin-launcher"; | 926 const char kPluginLauncher[] = "plugin-launcher"; |
| 931 | 927 |
| 932 // Tells the plugin process the path of the plugin to load | 928 // Tells the plugin process the path of the plugin to load |
| 933 const char kPluginPath[] = "plugin-path"; | 929 const char kPluginPath[] = "plugin-path"; |
| 934 | 930 |
| 935 // Causes the process to run as a plugin subprocess. | 931 // Causes the process to run as a plugin subprocess. |
| 936 const char kPluginProcess[] = "plugin"; | 932 const char kPluginProcess[] = "plugin"; |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1396 // region being painted to flash in red. | 1392 // region being painted to flash in red. |
| 1397 #if defined(TOOLKIT_VIEWS) | 1393 #if defined(TOOLKIT_VIEWS) |
| 1398 const char kDebugViewsPaint[] = "debug-views-paint"; | 1394 const char kDebugViewsPaint[] = "debug-views-paint"; |
| 1399 #endif | 1395 #endif |
| 1400 | 1396 |
| 1401 #ifndef NDEBUG | 1397 #ifndef NDEBUG |
| 1402 // Clear the token service before using it. This allows simulating | 1398 // Clear the token service before using it. This allows simulating |
| 1403 // the expiration of credentials during testing. | 1399 // the expiration of credentials during testing. |
| 1404 const char kClearTokenService[] = "clear-token-service"; | 1400 const char kClearTokenService[] = "clear-token-service"; |
| 1405 | 1401 |
| 1406 // Debug only switch to specify which gears plugin dll to load. | |
| 1407 const char kGearsPluginPathOverride[] = "gears-plugin-path"; | |
| 1408 | |
| 1409 // Sets a token in the token service, for testing. | 1402 // Sets a token in the token service, for testing. |
| 1410 const char kSetToken[] = "set-token"; | 1403 const char kSetToken[] = "set-token"; |
| 1411 | 1404 |
| 1412 // Debug only switch to specify which websocket live experiment host to be used. | 1405 // Debug only switch to specify which websocket live experiment host to be used. |
| 1413 // If host is specified, it also makes initial delay shorter (5 min to 5 sec) | 1406 // If host is specified, it also makes initial delay shorter (5 min to 5 sec) |
| 1414 // to make it faster to test websocket live experiment code. | 1407 // to make it faster to test websocket live experiment code. |
| 1415 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host"; | 1408 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host"; |
| 1416 #endif | 1409 #endif |
| 1417 | 1410 |
| 1418 #if defined(HAVE_XINPUT2) | 1411 #if defined(HAVE_XINPUT2) |
| (...skipping 21 matching lines...) Expand all Loading... |
| 1440 | 1433 |
| 1441 // ----------------------------------------------------------------------------- | 1434 // ----------------------------------------------------------------------------- |
| 1442 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1435 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1443 // | 1436 // |
| 1444 // You were going to just dump your switches here, weren't you? Instead, | 1437 // You were going to just dump your switches here, weren't you? Instead, |
| 1445 // please put them in alphabetical order above, or in order inside the | 1438 // please put them in alphabetical order above, or in order inside the |
| 1446 // appropriate ifdef at the bottom. The order should match the header. | 1439 // appropriate ifdef at the bottom. The order should match the header. |
| 1447 // ----------------------------------------------------------------------------- | 1440 // ----------------------------------------------------------------------------- |
| 1448 | 1441 |
| 1449 } // namespace switches | 1442 } // namespace switches |
| OLD | NEW |