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

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

Issue 2708073002: Removing pre-material design menu setting. (Closed)
Patch Set: Removing header 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/signin/core/common/profile_management_switches.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
(...skipping 17 matching lines...) Expand all
28 // Use new profile management system, including profile sign-out and new 28 // Use new profile management system, including profile sign-out and new
29 // choosers. 29 // choosers.
30 bool IsNewProfileManagement(); 30 bool IsNewProfileManagement();
31 31
32 // Whether the new profile management preview has been enabled. 32 // Whether the new profile management preview has been enabled.
33 bool IsNewProfileManagementPreviewEnabled(); 33 bool IsNewProfileManagementPreviewEnabled();
34 34
35 // Checks whether the new gaia password separated sign in flow is enabled. 35 // Checks whether the new gaia password separated sign in flow is enabled.
36 bool UsePasswordSeparatedSigninFlow(); 36 bool UsePasswordSeparatedSigninFlow();
37 37
38 // Whether the material design user menu should be displayed.
39 bool IsMaterialDesignUserMenu();
40
41 // Called in tests to force enabling different modes. 38 // Called in tests to force enabling different modes.
42 void EnableNewProfileManagementForTesting(base::CommandLine* command_line); 39 void EnableNewProfileManagementForTesting(base::CommandLine* command_line);
43 void EnableAccountConsistencyForTesting(base::CommandLine* command_line); 40 void EnableAccountConsistencyForTesting(base::CommandLine* command_line);
44 41
45 } // namespace switches 42 } // namespace switches
46 43
47 #endif // COMPONENTS_SIGNIN_CORE_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ 44 #endif // COMPONENTS_SIGNIN_CORE_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/signin/core/common/profile_management_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698