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 // Enables the pure web-based flow for sign in on first run/NTP/wrench menu/ | 13 // Enables the pure web-based flow for sign in on first run/NTP/wrench menu/ |
14 // settings page. | 14 // settings page. |
15 const char kEnableWebBasedSignin[] = "enable-web-based-signin"; | 15 const char kEnableWebBasedSignin[] = "enable-web-based-signin"; |
Roger Tawa OOO till Jul 10th
2014/05/13 14:13:12
nit: not your change, but could you fix this align
Michael Courage
2014/05/13 17:02:06
Done.
| |
16 | 16 |
17 // Enables multiple account versions of chrome.identity APIs. | |
18 const char kExtensionsMultiAccount[] = "extensions-multi-account"; | |
19 | |
17 // Allows displaying the list of existing profiles in the avatar bubble for | 20 // Allows displaying the list of existing profiles in the avatar bubble for |
18 // fast switching between profiles. | 21 // fast switching between profiles. |
19 const char kFastUserSwitching[] = "fast-user-switching"; | 22 const char kFastUserSwitching[] = "fast-user-switching"; |
20 | 23 |
21 // Enables using GAIA information to populate profile name and icon. | 24 // Enables using GAIA information to populate profile name and icon. |
22 const char kGoogleProfileInfo[] = "google-profile-info"; | 25 const char kGoogleProfileInfo[] = "google-profile-info"; |
23 | 26 |
24 // Use new avatar menu. When combined with new-profile-management, it simply | 27 // Use new avatar menu. When combined with new-profile-management, it simply |
25 // shows the new profile management avatar menu. Otherwise it shows a redesigned | 28 // shows the new profile management avatar menu. Otherwise it shows a redesigned |
26 // avatar menu with the same functionality as the old one, plus a tutorial card | 29 // avatar menu with the same functionality as the old one, plus a tutorial card |
27 // at the top prompting the user to try out the new profile management UI. | 30 // at the top prompting the user to try out the new profile management UI. |
28 const char kNewAvatarMenu[] = "new-avatar-menu"; | 31 const char kNewAvatarMenu[] = "new-avatar-menu"; |
29 | 32 |
30 // Use new profile management system, including profile sign-out and new | 33 // Use new profile management system, including profile sign-out and new |
31 // choosers. | 34 // choosers. |
32 const char kNewProfileManagement[] = "new-profile-management"; | 35 const char kNewProfileManagement[] = "new-profile-management"; |
33 | 36 |
34 } // namespace switches | 37 } // namespace switches |
OLD | NEW |