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

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

Issue 1344443002: Implement new password separated sign in flow for chrome desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 years, 3 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_
(...skipping 21 matching lines...) Expand all
32 // is enabled or because the new profile management preview UI is enabled. 32 // is enabled or because the new profile management preview UI is enabled.
33 bool IsNewAvatarMenu(); 33 bool IsNewAvatarMenu();
34 34
35 // Use new profile management system, including profile sign-out and new 35 // Use new profile management system, including profile sign-out and new
36 // choosers. 36 // choosers.
37 bool IsNewProfileManagement(); 37 bool IsNewProfileManagement();
38 38
39 // Whether the new profile management preview has been enabled. 39 // Whether the new profile management preview has been enabled.
40 bool IsNewProfileManagementPreviewEnabled(); 40 bool IsNewProfileManagementPreviewEnabled();
41 41
42 // Checks whether account consistency is enabled. If enabled, the account
anthonyvd 2015/09/15 18:13:47 This comment doesn't seem to reflect what this fun
Roger Tawa OOO till Jul 10th 2015/09/16 19:27:29 Done. Darn cut and paste...
43 // management UI is available in the avatar bubble.
44 bool UseNewGaiaFlow();
45
42 // Called in tests to force enabling different modes. 46 // Called in tests to force enabling different modes.
43 void EnableNewAvatarMenuForTesting(base::CommandLine* command_line); 47 void EnableNewAvatarMenuForTesting(base::CommandLine* command_line);
44 void DisableNewAvatarMenuForTesting(base::CommandLine* command_line); 48 void DisableNewAvatarMenuForTesting(base::CommandLine* command_line);
45 void EnableNewProfileManagementForTesting(base::CommandLine* command_line); 49 void EnableNewProfileManagementForTesting(base::CommandLine* command_line);
46 void EnableAccountConsistencyForTesting(base::CommandLine* command_line); 50 void EnableAccountConsistencyForTesting(base::CommandLine* command_line);
47 51
48 } // namespace switches 52 } // namespace switches
49 53
50 #endif // COMPONENTS_SIGNIN_CORE_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ 54 #endif // COMPONENTS_SIGNIN_CORE_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698