Index: components/signin/core/common/profile_management_switches.h |
diff --git a/components/signin/core/common/profile_management_switches.h b/components/signin/core/common/profile_management_switches.h |
index 28d40603d844410a0dd90bf2cfd05601e218b172..b1289aa2126c10fd55231b56d92ca6b9b741c69f 100644 |
--- a/components/signin/core/common/profile_management_switches.h |
+++ b/components/signin/core/common/profile_management_switches.h |
@@ -9,6 +9,10 @@ |
#ifndef CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ |
#define CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ |
+namespace base { |
+class CommandLine; |
+} |
+ |
namespace switches { |
// Checks whether account consistency is enabled. |
@@ -37,6 +41,10 @@ bool IsNewProfileManagement(); |
// Whether the new profile management preview has been enabled. |
bool IsNewProfileManagementPreviewEnabled(); |
+// Called in tests to force enabling different modes. |
+void EnableNewProfileManagementForTesting(base::CommandLine* command_line); |
+void EnableAccountConsistencyForTesting(base::CommandLine* command_line); |
+ |
} // namespace switches |
#endif // CHROME_COMMON_PROFILE_MANAGEMENT_SWITCHES_H_ |