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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a | 467 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a |
472 // GAIA login page, an info bar can help the user login. | 468 // GAIA login page, an info bar can help the user login. |
473 const char kEnableAutologin[] = "enable-autologin"; | 469 const char kEnableAutologin[] = "enable-autologin"; |
474 | 470 |
475 // Enables the benchmarking extensions. | 471 // Enables the benchmarking extensions. |
476 const char kEnableBenchmarking[] = "enable-benchmarking"; | 472 const char kEnableBenchmarking[] = "enable-benchmarking"; |
477 | 473 |
478 // Enables the bundled PPAPI version of Flash. | 474 // Enables the bundled PPAPI version of Flash. |
479 const char kEnableBundledPpapiFlash[] = "enable-bundled-ppapi-flash"; | 475 const char kEnableBundledPpapiFlash[] = "enable-bundled-ppapi-flash"; |
480 | 476 |
| 477 // Enables the new ClientOAuth signin flow for connecting a profile a Google |
| 478 // account. When disabled, Chrome will use the ClientLogin flow instead. |
| 479 const char kEnableClientOAuthSignin[] = "enable-client-oauth-signin"; |
| 480 |
481 // Enables Chrome To Mobile. | 481 // Enables Chrome To Mobile. |
482 // This switch is not currently respected; use the disable switch instead. | 482 // This switch is not currently respected; use the disable switch instead. |
483 const char kEnableChromeToMobile[] = "enable-chrome-to-mobile"; | 483 const char kEnableChromeToMobile[] = "enable-chrome-to-mobile"; |
484 | 484 |
485 // Enables the new cloud policy stack. | 485 // Enables the new cloud policy stack. |
486 const char kEnableCloudPolicyService[] = "enable-cloud-policy-service"; | 486 const char kEnableCloudPolicyService[] = "enable-cloud-policy-service"; |
487 | 487 |
488 // This applies only when the process type is "service". Enables the Cloud | 488 // This applies only when the process type is "service". Enables the Cloud |
489 // Print Proxy component within the service process. | 489 // Print Proxy component within the service process. |
490 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; | 490 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; |
(...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1508 | 1508 |
1509 // ----------------------------------------------------------------------------- | 1509 // ----------------------------------------------------------------------------- |
1510 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1510 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1511 // | 1511 // |
1512 // You were going to just dump your switches here, weren't you? Instead, please | 1512 // You were going to just dump your switches here, weren't you? Instead, please |
1513 // put them in alphabetical order above, or in order inside the appropriate | 1513 // put them in alphabetical order above, or in order inside the appropriate |
1514 // ifdef at the bottom. The order should match the header. | 1514 // ifdef at the bottom. The order should match the header. |
1515 // ----------------------------------------------------------------------------- | 1515 // ----------------------------------------------------------------------------- |
1516 | 1516 |
1517 } // namespace switches | 1517 } // namespace switches |
OLD | NEW |