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 // 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_ |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 // Whether the new profile management preview has been enabled. | 45 // Whether the new profile management preview has been enabled. |
46 bool IsNewProfileManagementPreviewEnabled(); | 46 bool IsNewProfileManagementPreviewEnabled(); |
47 | 47 |
48 // Called in tests to force enabling different modes. | 48 // Called in tests to force enabling different modes. |
49 void EnableNewAvatarMenuForTesting(base::CommandLine* command_line); | 49 void EnableNewAvatarMenuForTesting(base::CommandLine* command_line); |
50 void DisableNewAvatarMenuForTesting(base::CommandLine* command_line); | 50 void DisableNewAvatarMenuForTesting(base::CommandLine* command_line); |
51 void EnableNewProfileManagementForTesting(base::CommandLine* command_line); | 51 void EnableNewProfileManagementForTesting(base::CommandLine* command_line); |
52 void EnableAccountConsistencyForTesting(base::CommandLine* command_line); | 52 void EnableAccountConsistencyForTesting(base::CommandLine* command_line); |
53 | 53 |
| 54 // Checks whether the experiment that replaces the Most Visited category |
| 55 // with a Profiles list exists. |
| 56 bool HasProfilesJumplistExperiment(); |
| 57 |
54 } // namespace switches | 58 } // namespace switches |
55 | 59 |
56 #endif // CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ | 60 #endif // CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ |
OLD | NEW |