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

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

Issue 2762173003: Remove IsNewProfileManagement and EnableNewProfileManagementForTesting (Closed)
Patch Set: Fix compile (add back an include) Created 3 years, 9 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
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 COMPONENTS_SIGNIN_CORE_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ 9 #ifndef COMPONENTS_SIGNIN_CORE_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_
10 #define COMPONENTS_SIGNIN_CORE_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ 10 #define COMPONENTS_SIGNIN_CORE_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_
11 11
12 namespace base { 12 namespace base {
13 class CommandLine; 13 class CommandLine;
14 } 14 }
15 15
16 namespace switches { 16 namespace switches {
17 17
18 // Checks whether account consistency is enabled. If enabled, the account 18 // Checks whether account consistency is enabled. If enabled, the account
19 // management UI is available in the avatar bubble. 19 // management UI is available in the avatar bubble.
20 bool IsEnableAccountConsistency(); 20 bool IsEnableAccountConsistency();
21 21
22 // Whether the chrome.identity API should be multi-account. 22 // Whether the chrome.identity API should be multi-account.
23 bool IsExtensionsMultiAccount(); 23 bool IsExtensionsMultiAccount();
24 24
25 // Use new profile management system, including profile sign-out and new
26 // choosers.
27 bool IsNewProfileManagement();
28
29 // Checks whether the new gaia password separated sign in flow is enabled. 25 // Checks whether the new gaia password separated sign in flow is enabled.
30 bool UsePasswordSeparatedSigninFlow(); 26 bool UsePasswordSeparatedSigninFlow();
31 27
32 // Called in tests to force enabling different modes. 28 // Called in tests to force enable account consistency.
33 void EnableNewProfileManagementForTesting(base::CommandLine* command_line);
34 void EnableAccountConsistencyForTesting(base::CommandLine* command_line); 29 void EnableAccountConsistencyForTesting(base::CommandLine* command_line);
35 30
36 } // namespace switches 31 } // namespace switches
37 32
38 #endif // COMPONENTS_SIGNIN_CORE_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ 33 #endif // COMPONENTS_SIGNIN_CORE_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_
OLDNEW
« no previous file with comments | « components/signin/core/browser/about_signin_internals.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