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