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

Unified Diff: components/signin/core/common/profile_management_switches.h

Issue 323133005: Enable consistent identity on android platform by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698