| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 // Enables establishing a backup TCP connection if a specified timeout is | 493 // Enables establishing a backup TCP connection if a specified timeout is |
| 494 // exceeded. | 494 // exceeded. |
| 495 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; | 495 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; |
| 496 | 496 |
| 497 // Enables web developers to create apps for Chrome without using crx packages. | 497 // Enables web developers to create apps for Chrome without using crx packages. |
| 498 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; | 498 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; |
| 499 | 499 |
| 500 // If true devtools experimental settings are enabled. | 500 // If true devtools experimental settings are enabled. |
| 501 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; | 501 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; |
| 502 | 502 |
| 503 // Enables extensions to be easily installed from sites other than the web |
| 504 // store. Without this flag, they can still be installed, but must be manually |
| 505 // dragged onto chrome://extensions/. |
| 506 const char kEnableEasyOffStoreExtensionInstall[] = |
| 507 "enable-easy-off-store-extension-install"; |
| 508 |
| 503 // Enables extension APIs that are in development. | 509 // Enables extension APIs that are in development. |
| 504 const char kEnableExperimentalExtensionApis[] = | 510 const char kEnableExperimentalExtensionApis[] = |
| 505 "enable-experimental-extension-apis"; | 511 "enable-experimental-extension-apis"; |
| 506 | 512 |
| 507 // Enables logging for extension activity. | 513 // Enables logging for extension activity. |
| 508 const char kEnableExtensionActivityLogging[] = | 514 const char kEnableExtensionActivityLogging[] = |
| 509 "enable-extension-activity-logging"; | 515 "enable-extension-activity-logging"; |
| 510 | 516 |
| 511 // Enables the extension activity UI. | 517 // Enables the extension activity UI. |
| 512 const char kEnableExtensionActivityUI[] = "enable-extension-activity-ui"; | 518 const char kEnableExtensionActivityUI[] = "enable-extension-activity-ui"; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 // Enables hardware exception handling via debugger process. | 559 // Enables hardware exception handling via debugger process. |
| 554 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling"; | 560 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling"; |
| 555 | 561 |
| 556 // Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY. | 562 // Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY. |
| 557 const char kEnableNpn[] = "enable-npn"; | 563 const char kEnableNpn[] = "enable-npn"; |
| 558 | 564 |
| 559 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. | 565 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. |
| 560 // HTTP is still used for all requests. | 566 // HTTP is still used for all requests. |
| 561 const char kEnableNpnHttpOnly[] = "enable-npn-http"; | 567 const char kEnableNpnHttpOnly[] = "enable-npn-http"; |
| 562 | 568 |
| 563 // Enables extensions to be easily installed from sites other than the web | |
| 564 // store. Without this flag, they can still be installed, but must be manually | |
| 565 // dragged onto chrome://extensions/. | |
| 566 const char kEnableOffStoreExtensionInstall[] = | |
| 567 "enable-off-store-extension-install"; | |
| 568 | |
| 569 // Enables panels (always on-top docked pop-up windows). | 569 // Enables panels (always on-top docked pop-up windows). |
| 570 const char kEnablePanels[] = "enable-panels"; | 570 const char kEnablePanels[] = "enable-panels"; |
| 571 | 571 |
| 572 // Enables password generation when we detect that the user is going through | 572 // Enables password generation when we detect that the user is going through |
| 573 // account creation. | 573 // account creation. |
| 574 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 574 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
| 575 | 575 |
| 576 // Enables advanced app capabilities. | 576 // Enables advanced app capabilities. |
| 577 const char kEnablePlatformApps[] = "enable-platform-apps"; | 577 const char kEnablePlatformApps[] = "enable-platform-apps"; |
| 578 | 578 |
| (...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1446 | 1446 |
| 1447 // ----------------------------------------------------------------------------- | 1447 // ----------------------------------------------------------------------------- |
| 1448 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1448 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1449 // | 1449 // |
| 1450 // You were going to just dump your switches here, weren't you? Instead, please | 1450 // You were going to just dump your switches here, weren't you? Instead, please |
| 1451 // put them in alphabetical order above, or in order inside the appropriate | 1451 // put them in alphabetical order above, or in order inside the appropriate |
| 1452 // ifdef at the bottom. The order should match the header. | 1452 // ifdef at the bottom. The order should match the header. |
| 1453 // ----------------------------------------------------------------------------- | 1453 // ----------------------------------------------------------------------------- |
| 1454 | 1454 |
| 1455 } // namespace switches | 1455 } // namespace switches |
| OLD | NEW |