Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(516)

Side by Side Diff: components/signin/core/common/profile_management_switches.h

Issue 300063005: Add new flag for consistent identity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: return account consistency state if both flags set Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 // These are functions to access various profile-management flags but with 5 // These are functions to access various profile-management flags but with
6 // possible overrides from Experiements. This is done inside chrome/common 6 // possible overrides from Experiements. This is done inside chrome/common
7 // because it is accessed by files through the chrome/ directory tree. 7 // because it is accessed by files through the chrome/ directory tree.
8 8
9 #ifndef CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ 9 #ifndef CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_
10 #define CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ 10 #define CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_
11 11
12 namespace switches { 12 namespace switches {
13 13
14 // Checks whether account consistency is enabled.
15 bool IsEnableAccountConsistency();
16
14 // Enables the web-based sign in flow on Chrome desktop. 17 // Enables the web-based sign in flow on Chrome desktop.
15 bool IsEnableWebBasedSignin(); 18 bool IsEnableWebBasedSignin();
16 19
17 // Whether the chrome.identity API should be multi-account. 20 // Whether the chrome.identity API should be multi-account.
18 bool IsExtensionsMultiAccount(); 21 bool IsExtensionsMultiAccount();
19 22
20 // Checks whether the flag for fast user switching is enabled. 23 // Checks whether the flag for fast user switching is enabled.
21 bool IsFastUserSwitching(); 24 bool IsFastUserSwitching();
22 25
23 // Enables using GAIA information to populate profile name and icon. 26 // Enables using GAIA information to populate profile name and icon.
24 bool IsGoogleProfileInfo(); 27 bool IsGoogleProfileInfo();
25 28
26 // Whether the new avatar menu is enabled, either because new profile management 29 // Whether the new avatar menu is enabled, either because new profile management
27 // is enabled or because the new profile management preview UI is enabled. 30 // is enabled or because the new profile management preview UI is enabled.
28 bool IsNewAvatarMenu(); 31 bool IsNewAvatarMenu();
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 bool IsNewProfileManagement(); 35 bool IsNewProfileManagement();
33 36
34 // Whether the new profile management preview has been enabled. 37 // Whether the new profile management preview has been enabled.
35 bool IsNewProfileManagementPreviewEnabled(); 38 bool IsNewProfileManagementPreviewEnabled();
36 39
37 } // namespace switches 40 } // namespace switches
38 41
39 #endif // CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ 42 #endif // CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | components/signin/core/common/profile_management_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698