| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/signin/core/common/signin_switches.h" | 5 #include "components/signin/core/common/signin_switches.h" |
| 6 | 6 |
| 7 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // Clears the token service before using it. This allows simulating the | 9 // Clears the token service before using it. This allows simulating the |
| 10 // expiration of credentials during testing. | 10 // expiration of credentials during testing. |
| 11 const char kClearTokenService[] = "clear-token-service"; | 11 const char kClearTokenService[] = "clear-token-service"; |
| 12 | 12 |
| 13 // Disables consistent identity features. | 13 // Disables consistent identity features. |
| 14 const char kDisableAccountConsistency[] = "disable-account-consistency"; | 14 const char kDisableAccountConsistency[] = "disable-account-consistency"; |
| 15 | 15 |
| 16 // Disables new profile management system, including new profile chooser UI. | 16 // Disables new profile management system, including new profile chooser UI. |
| 17 const char kDisableNewProfileManagement[] = "disable-new-profile-management"; | 17 const char kDisableNewProfileManagement[] = "disable-new-profile-management"; |
| 18 | 18 |
| 19 // Disable sending signin scoped device id to LSO with refresh token request. | 19 // Disables new gaia password-separated sign in flow. |
| 20 const char kDisablePasswordSeparatedSigninFlow[] = |
| 21 "disable-password-separated-signin-flow"; |
| 22 |
| 23 // Disables sending signin scoped device id to LSO with refresh token request. |
| 20 const char kDisableSigninScopedDeviceId[] = "disable-signin-scoped-device-id"; | 24 const char kDisableSigninScopedDeviceId[] = "disable-signin-scoped-device-id"; |
| 21 | 25 |
| 22 // Enables consistent identity features. | 26 // Enables consistent identity features. |
| 23 const char kEnableAccountConsistency[] = "enable-account-consistency"; | 27 const char kEnableAccountConsistency[] = "enable-account-consistency"; |
| 24 | 28 |
| 25 // Enables the old iframe-based flow for sign in. When not enabled, uses the | 29 // Enables the old iframe-based flow for sign in. When not enabled, uses the |
| 26 // webview-based flow. | 30 // webview-based flow. |
| 27 const char kEnableIframeBasedSignin[] = "enable-iframe-based-signin"; | 31 const char kEnableIframeBasedSignin[] = "enable-iframe-based-signin"; |
| 28 | 32 |
| 33 // Enables new gaia password-separated sign in flow. |
| 34 const char kEnablePasswordSeparatedSigninFlow[] = |
| 35 "enable-password-separated-signin-flow"; |
| 36 |
| 29 // Enables new profile management system, including lock mode. | 37 // Enables new profile management system, including lock mode. |
| 30 const char kEnableNewProfileManagement[] = "new-profile-management"; | 38 const char kEnableNewProfileManagement[] = "new-profile-management"; |
| 31 | 39 |
| 32 // Enable sending EnableRefreshTokenAnnotationRequest. | 40 // Enables sending EnableRefreshTokenAnnotationRequest. |
| 33 extern const char kEnableRefreshTokenAnnotationRequest[] = | 41 extern const char kEnableRefreshTokenAnnotationRequest[] = |
| 34 "enable-refresh-token-annotation-request"; | 42 "enable-refresh-token-annotation-request"; |
| 35 | 43 |
| 36 // Enables multiple account versions of chrome.identity APIs. | 44 // Enables multiple account versions of chrome.identity APIs. |
| 37 const char kExtensionsMultiAccount[] = "extensions-multi-account"; | 45 const char kExtensionsMultiAccount[] = "extensions-multi-account"; |
| 38 | 46 |
| 39 // Enables using GAIA information to populate profile name and icon. | 47 // Enables using GAIA information to populate profile name and icon. |
| 40 const char kGoogleProfileInfo[] = "google-profile-info"; | 48 const char kGoogleProfileInfo[] = "google-profile-info"; |
| 41 | 49 |
| 42 } // namespace switches | 50 } // namespace switches |
| OLD | NEW |