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

Unified Diff: components/signin/core/common/signin_switches.cc

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.cc
diff --git a/components/signin/core/common/signin_switches.cc b/components/signin/core/common/signin_switches.cc
index 4216d5cb875f794972b1df8606a87583e08fcd38..7e606fd2e7249a23d7d10e091c56e11b2b31771d 100644
--- a/components/signin/core/common/signin_switches.cc
+++ b/components/signin/core/common/signin_switches.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "build/build_config.h"
noms (inactive) 2014/06/11 14:14:12 nit: i think this include should go below, because
Roger Tawa OOO till Jul 10th 2014/06/13 02:17:19 Done.
#include "components/signin/core/common/signin_switches.h"
namespace switches {
@@ -10,9 +11,6 @@ namespace switches {
// expiration of credentials during testing.
const char kClearTokenService[] = "clear-token-service";
-// Enables consistent identity features.
-const char kEnableAccountConsistency[] = "enable-account-consistency";
-
// Enables the pure web-based flow for sign in on first run/NTP/wrench menu/
// settings page.
const char kEnableWebBasedSignin[] = "enable-web-based-signin";
@@ -33,8 +31,22 @@ const char kGoogleProfileInfo[] = "google-profile-info";
// at the top prompting the user to try out the new profile management UI.
const char kNewAvatarMenu[] = "new-avatar-menu";
-// Use new profile management system, including profile sign-out and new
-// choosers.
-const char kNewProfileManagement[] = "new-profile-management";
+#if defined(OS_ANDROID)
+
+// Disables consistent identity features.
+const char kDisableAccountConsistency[] = "disable-account-consistency";
+
+// Disables new profile management system, including new choosers.
noms (inactive) 2014/06/11 14:14:12 nit: profile choosers? new profile chooser ui? (he
Roger Tawa OOO till Jul 10th 2014/06/13 02:17:19 Done.
+const char kDisableNewProfileManagement[] = "disable-new-profile-management";
+
+#else
+
+// Enables consistent identity features.
+const char kEnableAccountConsistency[] = "enable-account-consistency";
+
+// Enables new profile management system, including new choosers.
+const char kEnableNewProfileManagement[] = "new-profile-management";
+
+#endif
} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698