| 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 const char kDisableBackgroundMode[] = "disable-background-mode"; | 269 const char kDisableBackgroundMode[] = "disable-background-mode"; |
| 270 | 270 |
| 271 // Disable several subsystems which run network requests in the background. | 271 // Disable several subsystems which run network requests in the background. |
| 272 // This is for use when doing network performance testing to avoid noise in the | 272 // This is for use when doing network performance testing to avoid noise in the |
| 273 // measurements. | 273 // measurements. |
| 274 const char kDisableBackgroundNetworking[] = "disable-background-networking"; | 274 const char kDisableBackgroundNetworking[] = "disable-background-networking"; |
| 275 | 275 |
| 276 // Disables the bundled PPAPI version of Flash (if it's enabled by default). | 276 // Disables the bundled PPAPI version of Flash (if it's enabled by default). |
| 277 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; | 277 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; |
| 278 | 278 |
| 279 // Disables Chrome To Mobile. | |
| 280 const char kDisableChromeToMobile[] = "disable-chrome-to-mobile"; | |
| 281 | |
| 282 // Disables the client-side phishing detection feature. Note that even if | 279 // Disables the client-side phishing detection feature. Note that even if |
| 283 // client-side phishing detection is enabled, it will only be active if the | 280 // client-side phishing detection is enabled, it will only be active if the |
| 284 // user has opted in to UMA stats and SafeBrowsing is enabled in the | 281 // user has opted in to UMA stats and SafeBrowsing is enabled in the |
| 285 // preferences. | 282 // preferences. |
| 286 const char kDisableClientSidePhishingDetection[] = | 283 const char kDisableClientSidePhishingDetection[] = |
| 287 "disable-client-side-phishing-detection"; | 284 "disable-client-side-phishing-detection"; |
| 288 | 285 |
| 289 const char kDisableComponentUpdate[] = "disable-component-update"; | 286 const char kDisableComponentUpdate[] = "disable-component-update"; |
| 290 | 287 |
| 291 // Disables establishing a backup TCP connection if a specified timeout is | 288 // Disables establishing a backup TCP connection if a specified timeout is |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 480 // Enables the benchmarking extensions. | 477 // Enables the benchmarking extensions. |
| 481 const char kEnableBenchmarking[] = "enable-benchmarking"; | 478 const char kEnableBenchmarking[] = "enable-benchmarking"; |
| 482 | 479 |
| 483 // Enables the bundled PPAPI version of Flash. | 480 // Enables the bundled PPAPI version of Flash. |
| 484 const char kEnableBundledPpapiFlash[] = "enable-bundled-ppapi-flash"; | 481 const char kEnableBundledPpapiFlash[] = "enable-bundled-ppapi-flash"; |
| 485 | 482 |
| 486 // Enables the new ClientOAuth signin flow for connecting a profile a Google | 483 // Enables the new ClientOAuth signin flow for connecting a profile a Google |
| 487 // account. When disabled, Chrome will use the ClientLogin flow instead. | 484 // account. When disabled, Chrome will use the ClientLogin flow instead. |
| 488 const char kEnableClientOAuthSignin[] = "enable-client-oauth-signin"; | 485 const char kEnableClientOAuthSignin[] = "enable-client-oauth-signin"; |
| 489 | 486 |
| 490 // Enables Chrome To Mobile. | |
| 491 // This switch is not currently respected; use the disable switch instead. | |
| 492 const char kEnableChromeToMobile[] = "enable-chrome-to-mobile"; | |
| 493 | |
| 494 // Enables the new cloud policy stack. | 487 // Enables the new cloud policy stack. |
| 495 const char kEnableCloudPolicyService[] = "enable-cloud-policy-service"; | 488 const char kEnableCloudPolicyService[] = "enable-cloud-policy-service"; |
| 496 | 489 |
| 497 // This applies only when the process type is "service". Enables the Cloud | 490 // This applies only when the process type is "service". Enables the Cloud |
| 498 // Print Proxy component within the service process. | 491 // Print Proxy component within the service process. |
| 499 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; | 492 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; |
| 500 | 493 |
| 501 // Enables establishing a backup TCP connection if a specified timeout is | 494 // Enables establishing a backup TCP connection if a specified timeout is |
| 502 // exceeded. | 495 // exceeded. |
| 503 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; | 496 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; |
| (...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1611 | 1604 |
| 1612 // ----------------------------------------------------------------------------- | 1605 // ----------------------------------------------------------------------------- |
| 1613 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1606 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1614 // | 1607 // |
| 1615 // You were going to just dump your switches here, weren't you? Instead, please | 1608 // You were going to just dump your switches here, weren't you? Instead, please |
| 1616 // put them in alphabetical order above, or in order inside the appropriate | 1609 // put them in alphabetical order above, or in order inside the appropriate |
| 1617 // ifdef at the bottom. The order should match the header. | 1610 // ifdef at the bottom. The order should match the header. |
| 1618 // ----------------------------------------------------------------------------- | 1611 // ----------------------------------------------------------------------------- |
| 1619 | 1612 |
| 1620 } // namespace switches | 1613 } // namespace switches |
| OLD | NEW |