| 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 const char kDisableBackgroundMode[] = "disable-background-mode"; | 263 const char kDisableBackgroundMode[] = "disable-background-mode"; |
| 264 | 264 |
| 265 // Disable several subsystems which run network requests in the background. | 265 // Disable several subsystems which run network requests in the background. |
| 266 // This is for use when doing network performance testing to avoid noise in the | 266 // This is for use when doing network performance testing to avoid noise in the |
| 267 // measurements. | 267 // measurements. |
| 268 const char kDisableBackgroundNetworking[] = "disable-background-networking"; | 268 const char kDisableBackgroundNetworking[] = "disable-background-networking"; |
| 269 | 269 |
| 270 // Disables the bundled PPAPI version of Flash (if it's enabled by default). | 270 // Disables the bundled PPAPI version of Flash (if it's enabled by default). |
| 271 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; | 271 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; |
| 272 | 272 |
| 273 // Disable the ClientOAuth signin flow for connecting a profile to a Google | |
| 274 // account. When disabled, Chrome will use the ClientLogin flow instead. | |
| 275 const char kDisableClientOAuthSignin[] = "disable-client-oauth-signin"; | |
| 276 | |
| 277 // Disables Chrome To Mobile. | 273 // Disables Chrome To Mobile. |
| 278 const char kDisableChromeToMobile[] = "disable-chrome-to-mobile"; | 274 const char kDisableChromeToMobile[] = "disable-chrome-to-mobile"; |
| 279 | 275 |
| 280 // Disables the client-side phishing detection feature. Note that even if | 276 // Disables the client-side phishing detection feature. Note that even if |
| 281 // client-side phishing detection is enabled, it will only be active if the | 277 // client-side phishing detection is enabled, it will only be active if the |
| 282 // user has opted in to UMA stats and SafeBrowsing is enabled in the | 278 // user has opted in to UMA stats and SafeBrowsing is enabled in the |
| 283 // preferences. | 279 // preferences. |
| 284 const char kDisableClientSidePhishingDetection[] = | 280 const char kDisableClientSidePhishingDetection[] = |
| 285 "disable-client-side-phishing-detection"; | 281 "disable-client-side-phishing-detection"; |
| 286 | 282 |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a | 470 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a |
| 475 // GAIA login page, an info bar can help the user login. | 471 // GAIA login page, an info bar can help the user login. |
| 476 const char kEnableAutologin[] = "enable-autologin"; | 472 const char kEnableAutologin[] = "enable-autologin"; |
| 477 | 473 |
| 478 // Enables the benchmarking extensions. | 474 // Enables the benchmarking extensions. |
| 479 const char kEnableBenchmarking[] = "enable-benchmarking"; | 475 const char kEnableBenchmarking[] = "enable-benchmarking"; |
| 480 | 476 |
| 481 // Enables the bundled PPAPI version of Flash. | 477 // Enables the bundled PPAPI version of Flash. |
| 482 const char kEnableBundledPpapiFlash[] = "enable-bundled-ppapi-flash"; | 478 const char kEnableBundledPpapiFlash[] = "enable-bundled-ppapi-flash"; |
| 483 | 479 |
| 480 // Enables the new ClientOAuth signin flow for connecting a profile a Google |
| 481 // account. When disabled, Chrome will use the ClientLogin flow instead. |
| 482 const char kEnableClientOAuthSignin[] = "enable-client-oauth-signin"; |
| 483 |
| 484 // Enables Chrome To Mobile. | 484 // Enables Chrome To Mobile. |
| 485 // This switch is not currently respected; use the disable switch instead. | 485 // This switch is not currently respected; use the disable switch instead. |
| 486 const char kEnableChromeToMobile[] = "enable-chrome-to-mobile"; | 486 const char kEnableChromeToMobile[] = "enable-chrome-to-mobile"; |
| 487 | 487 |
| 488 // Enables the new cloud policy stack. | 488 // Enables the new cloud policy stack. |
| 489 const char kEnableCloudPolicyService[] = "enable-cloud-policy-service"; | 489 const char kEnableCloudPolicyService[] = "enable-cloud-policy-service"; |
| 490 | 490 |
| 491 // This applies only when the process type is "service". Enables the Cloud | 491 // This applies only when the process type is "service". Enables the Cloud |
| 492 // Print Proxy component within the service process. | 492 // Print Proxy component within the service process. |
| 493 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; | 493 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; |
| (...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1549 | 1549 |
| 1550 // ----------------------------------------------------------------------------- | 1550 // ----------------------------------------------------------------------------- |
| 1551 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1551 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1552 // | 1552 // |
| 1553 // You were going to just dump your switches here, weren't you? Instead, please | 1553 // You were going to just dump your switches here, weren't you? Instead, please |
| 1554 // put them in alphabetical order above, or in order inside the appropriate | 1554 // put them in alphabetical order above, or in order inside the appropriate |
| 1555 // ifdef at the bottom. The order should match the header. | 1555 // ifdef at the bottom. The order should match the header. |
| 1556 // ----------------------------------------------------------------------------- | 1556 // ----------------------------------------------------------------------------- |
| 1557 | 1557 |
| 1558 } // namespace switches | 1558 } // namespace switches |
| OLD | NEW |