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. | |
14 const char kDisableAccountConsistency[] = "disable-account-consistency"; | |
15 | |
16 // Disables new profile management system, including new profile chooser UI. | |
17 const char kDisableNewProfileManagement[] = "disable-new-profile-management"; | |
18 | |
19 // Enables consistent identity features. | 13 // Enables consistent identity features. |
20 const char kEnableAccountConsistency[] = "enable-account-consistency"; | 14 const char kEnableAccountConsistency[] = "enable-account-consistency"; |
21 | 15 |
22 // Enables new profile management system, including new profile chooser UI. | |
23 const char kEnableNewProfileManagement[] = "new-profile-management"; | |
24 | |
25 // Enables the pure web-based flow for sign in on first run/NTP/wrench menu/ | 16 // Enables the pure web-based flow for sign in on first run/NTP/wrench menu/ |
26 // settings page. | 17 // settings page. |
27 const char kEnableWebBasedSignin[] = "enable-web-based-signin"; | 18 const char kEnableWebBasedSignin[] = "enable-web-based-signin"; |
28 | 19 |
29 // Enables multiple account versions of chrome.identity APIs. | 20 // Enables multiple account versions of chrome.identity APIs. |
30 const char kExtensionsMultiAccount[] = "extensions-multi-account"; | 21 const char kExtensionsMultiAccount[] = "extensions-multi-account"; |
31 | 22 |
32 // Allows displaying the list of existing profiles in the avatar bubble for | 23 // Allows displaying the list of existing profiles in the avatar bubble for |
33 // fast switching between profiles. | 24 // fast switching between profiles. |
34 const char kFastUserSwitching[] = "fast-user-switching"; | 25 const char kFastUserSwitching[] = "fast-user-switching"; |
35 | 26 |
36 // Enables using GAIA information to populate profile name and icon. | 27 // Enables using GAIA information to populate profile name and icon. |
37 const char kGoogleProfileInfo[] = "google-profile-info"; | 28 const char kGoogleProfileInfo[] = "google-profile-info"; |
38 | 29 |
39 // Use new avatar menu. When combined with new-profile-management, it simply | 30 // Use new avatar menu. When combined with new-profile-management, it simply |
40 // shows the new profile management avatar menu. Otherwise it shows a redesigned | 31 // shows the new profile management avatar menu. Otherwise it shows a redesigned |
41 // avatar menu with the same functionality as the old one, plus a tutorial card | 32 // avatar menu with the same functionality as the old one, plus a tutorial card |
42 // at the top prompting the user to try out the new profile management UI. | 33 // at the top prompting the user to try out the new profile management UI. |
43 const char kNewAvatarMenu[] = "new-avatar-menu"; | 34 const char kNewAvatarMenu[] = "new-avatar-menu"; |
44 | 35 |
| 36 // Use new profile management system, including profile sign-out and new |
| 37 // choosers. |
| 38 const char kNewProfileManagement[] = "new-profile-management"; |
| 39 |
45 } // namespace switches | 40 } // namespace switches |
OLD | NEW |