| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 // Disables accelerated compositing. | 124 // Disables accelerated compositing. |
| 125 const char kDisableAcceleratedCompositing[] = | 125 const char kDisableAcceleratedCompositing[] = |
| 126 "disable-accelerated-compositing"; | 126 "disable-accelerated-compositing"; |
| 127 | 127 |
| 128 // Disables the alternate window station for the renderer. | 128 // Disables the alternate window station for the renderer. |
| 129 const char kDisableAltWinstation[] = "disable-winsta"; | 129 const char kDisableAltWinstation[] = "disable-winsta"; |
| 130 | 130 |
| 131 // Disable the ApplicationCache. | 131 // Disable the ApplicationCache. |
| 132 const char kDisableApplicationCache[] = "disable-application-cache"; | 132 const char kDisableApplicationCache[] = "disable-application-cache"; |
| 133 | 133 |
| 134 // Disable extension apps. | |
| 135 const char kDisableApps[] = "disable-apps"; | |
| 136 | |
| 137 // Replaces the audio IPC layer for <audio> and <video> with a mock audio | 134 // Replaces the audio IPC layer for <audio> and <video> with a mock audio |
| 138 // device, useful when using remote desktop or machines without sound cards. | 135 // device, useful when using remote desktop or machines without sound cards. |
| 139 // This is temporary until we fix the underlying problem. | 136 // This is temporary until we fix the underlying problem. |
| 140 // | 137 // |
| 141 // TODO(scherkus): remove --disable-audio when we have a proper fallback | 138 // TODO(scherkus): remove --disable-audio when we have a proper fallback |
| 142 // mechanism. | 139 // mechanism. |
| 143 const char kDisableAudio[] = "disable-audio"; | 140 const char kDisableAudio[] = "disable-audio"; |
| 144 | 141 |
| 145 // Disable CNAME lookup of the host when generating the Kerberos SPN for a | 142 // Disable CNAME lookup of the host when generating the Kerberos SPN for a |
| 146 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN | 143 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 // for more background. | 371 // for more background. |
| 375 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; | 372 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; |
| 376 | 373 |
| 377 // Enable background mode (background apps will keep chrome running in the | 374 // Enable background mode (background apps will keep chrome running in the |
| 378 // background and allow chrome to launch on startup). | 375 // background and allow chrome to launch on startup). |
| 379 const char kEnableBackgroundMode[] = "enable-background-mode"; | 376 const char kEnableBackgroundMode[] = "enable-background-mode"; |
| 380 | 377 |
| 381 // Enables the benchmarking extensions. | 378 // Enables the benchmarking extensions. |
| 382 const char kEnableBenchmarking[] = "enable-benchmarking"; | 379 const char kEnableBenchmarking[] = "enable-benchmarking"; |
| 383 | 380 |
| 384 // This applies only when the process type is "service". Enables the | |
| 385 // Chromoting Host Process within the service process. | |
| 386 const char kEnableRemoting[] = "enable-remoting"; | |
| 387 | |
| 388 // This flag enables UI for clearing server data. Temporarily in place | 381 // This flag enables UI for clearing server data. Temporarily in place |
| 389 // until there's a server endpoint deployed. | 382 // until there's a server endpoint deployed. |
| 390 const char kEnableClearServerData[] = "enable-clear-server-data"; | 383 const char kEnableClearServerData[] = "enable-clear-server-data"; |
| 391 | 384 |
| 392 // This applies only when the process type is "service". Enables the | 385 // This applies only when the process type is "service". Enables the |
| 393 // Cloud Print Proxy component within the service process. | 386 // Cloud Print Proxy component within the service process. |
| 394 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; | 387 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; |
| 395 | 388 |
| 396 // Enables the Cloud Print dialog hosting code. | 389 // Enables the Cloud Print dialog hosting code. |
| 397 const char kEnableCloudPrint[] = "enable-cloud-print"; | 390 const char kEnableCloudPrint[] = "enable-cloud-print"; |
| 398 | 391 |
| 399 // Enables establishing a backup TCP connection if a specified timeout is | 392 // Enables establishing a backup TCP connection if a specified timeout is |
| 400 // exceeded. | 393 // exceeded. |
| 401 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; | 394 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; |
| 402 | 395 |
| 403 // Enable requests that webkit labels TargetIsPrefetch. As of | 396 // Enable requests that webkit labels TargetIsPrefetch. As of |
| 404 // writing only <link rel=prefetch...> but also eventually | 397 // writing only <link rel=prefetch...> but also eventually |
| 405 // Link: headers. | 398 // Link: headers. |
| 406 const char kEnableContentPrefetch[] = "enable-content-prefetch"; | 399 const char kEnableContentPrefetch[] = "enable-content-prefetch"; |
| 407 | 400 |
| 401 // Whether default apps should be installed in this profile. This flag has no |
| 402 // effect on Chrome OS because default apps are always enabled there. |
| 403 const char kEnableDefaultApps[] = "enable-default-apps"; |
| 404 |
| 408 // Enables device motion events. | 405 // Enables device motion events. |
| 409 const char kEnableDeviceMotion[] = "enable-device-motion"; | 406 const char kEnableDeviceMotion[] = "enable-device-motion"; |
| 410 | 407 |
| 411 const char kEnableDNSSECCerts[] = "enable-dnssec-certs"; | 408 const char kEnableDNSSECCerts[] = "enable-dnssec-certs"; |
| 412 | 409 |
| 413 // Enables extension APIs that are in development. | 410 // Enables extension APIs that are in development. |
| 414 const char kEnableExperimentalExtensionApis[] = | 411 const char kEnableExperimentalExtensionApis[] = |
| 415 "enable-experimental-extension-apis"; | 412 "enable-experimental-extension-apis"; |
| 416 | 413 |
| 417 // Enable experimental timeline API. | 414 // Enable experimental timeline API. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 // Runs the Native Client inside the renderer process and enables GPU plugin | 461 // Runs the Native Client inside the renderer process and enables GPU plugin |
| 465 // (internally adds kInternalNaCl and lEnableGpuPlugin to the command line). | 462 // (internally adds kInternalNaCl and lEnableGpuPlugin to the command line). |
| 466 const char kEnableNaCl[] = "enable-nacl"; | 463 const char kEnableNaCl[] = "enable-nacl"; |
| 467 | 464 |
| 468 // Enables debugging via RSP over a socket. | 465 // Enables debugging via RSP over a socket. |
| 469 const char kEnableNaClDebug[] = "enable-nacl-debug"; | 466 const char kEnableNaClDebug[] = "enable-nacl-debug"; |
| 470 | 467 |
| 471 // Enable Native Web Worker support. | 468 // Enable Native Web Worker support. |
| 472 const char kEnableNativeWebWorkers[] = "enable-native-web-workers"; | 469 const char kEnableNativeWebWorkers[] = "enable-native-web-workers"; |
| 473 | 470 |
| 471 // This applies only when the process type is "service". Enables the |
| 472 // Chromoting Host Process within the service process. |
| 473 const char kEnableRemoting[] = "enable-remoting"; |
| 474 |
| 474 // Enable content settings based on host *and* plug-in. | 475 // Enable content settings based on host *and* plug-in. |
| 475 const char kEnableResourceContentSettings[] = | 476 const char kEnableResourceContentSettings[] = |
| 476 "enable-resource-content-settings"; | 477 "enable-resource-content-settings"; |
| 477 | 478 |
| 478 // Enable speculative TCP/IP preconnection. | 479 // Enable speculative TCP/IP preconnection. |
| 479 const char kEnablePreconnect[] = "enable-preconnect"; | 480 const char kEnablePreconnect[] = "enable-preconnect"; |
| 480 | 481 |
| 481 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 482 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
| 482 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 483 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
| 483 | 484 |
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1269 | 1270 |
| 1270 // ----------------------------------------------------------------------------- | 1271 // ----------------------------------------------------------------------------- |
| 1271 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1272 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1272 // | 1273 // |
| 1273 // You were going to just dump your switches here, weren't you? Instead, | 1274 // You were going to just dump your switches here, weren't you? Instead, |
| 1274 // please put them in alphabetical order above, or in order inside the | 1275 // please put them in alphabetical order above, or in order inside the |
| 1275 // appropriate ifdef at the bottom. The order should match the header. | 1276 // appropriate ifdef at the bottom. The order should match the header. |
| 1276 // ----------------------------------------------------------------------------- | 1277 // ----------------------------------------------------------------------------- |
| 1277 | 1278 |
| 1278 } // namespace switches | 1279 } // namespace switches |
| OLD | NEW |