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

Unified Diff: components/signin/core/common/signin_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/signin_switches.h
diff --git a/components/signin/core/common/signin_switches.h b/components/signin/core/common/signin_switches.h
index 60d51e2196836f4ceef7a3cb458f4768425607fd..3b9321cb1b16fae2dba5ff008de27f4ea5d576d3 100644
--- a/components/signin/core/common/signin_switches.h
+++ b/components/signin/core/common/signin_switches.h
@@ -14,13 +14,27 @@ namespace switches {
// All switches in alphabetical order. The switches should be documented
// alongside the definition of their values in the .cc file.
extern const char kClearTokenService[];
-extern const char kEnableAccountConsistency[];
extern const char kEnableWebBasedSignin[];
extern const char kExtensionsMultiAccount[];
extern const char kFastUserSwitching[];
extern const char kGoogleProfileInfo[];
extern const char kNewAvatarMenu[];
-extern const char kNewProfileManagement[];
+
+#if defined(OS_ANDROID)
+
+// These flags are used on platforms where new profile management and
+// account consistency are on by default. User can choose to turn them off.
noms (inactive) 2014/06/11 14:14:12 nit: s/user/users (here and below)
Roger Tawa OOO till Jul 10th 2014/06/13 02:17:19 Done.
+extern const char kDisableAccountConsistency[];
+extern const char kDisableNewProfileManagement[];
+
+#else
+
+// These flags are used on platforms where new profile management and
+// account consistency are off by default. User can choose to turn them on.
+extern const char kEnableAccountConsistency[];
+extern const char kEnableNewProfileManagement[];
+
+#endif
} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698