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

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

Issue 431083003: Change new-avatar-menu to an enable-disable flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Issue with the rebase Created 6 years, 4 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
« no previous file with comments | « components/signin/core/common/signin_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f1fd6b24e605f1aa918b10f25f37cbdcf873bb1d..aa9bab1a568f3277e3577b52cccef2f4bd5f943b 100644
--- a/components/signin/core/common/signin_switches.cc
+++ b/components/signin/core/common/signin_switches.cc
@@ -16,13 +16,19 @@ const char kDisableAccountConsistency[] = "disable-account-consistency";
// Disables new profile management system, including new profile chooser UI.
const char kDisableNewProfileManagement[] = "disable-new-profile-management";
+// Disables the new avatar menu, forcing the top-corner avatar button.
+const char kDisableNewAvatarMenu[] = "disable-new-avatar-menu";
+
// Disable sending signin scoped device id to LSO with refresh token request.
const char kDisableSigninScopedDeviceId[] = "disable-signin-scoped-device-id";
// Enables consistent identity features.
const char kEnableAccountConsistency[] = "enable-account-consistency";
-// Enables new profile management system, including new profile chooser UI.
+// Enable the new avatar menu and the User Manager.
+const char kEnableNewAvatarMenu[] = "enable-new-avatar-menu";
+
+// Enables new profile management system, including lock mode.
const char kEnableNewProfileManagement[] = "new-profile-management";
// Enables the pure web-based flow for sign in on first run/NTP/wrench menu/
@@ -39,10 +45,4 @@ const char kFastUserSwitching[] = "fast-user-switching";
// Enables using GAIA information to populate profile name and icon.
const char kGoogleProfileInfo[] = "google-profile-info";
-// Use new avatar menu. When combined with new-profile-management, it simply
-// shows the new profile management avatar menu. Otherwise it shows a redesigned
-// avatar menu with the same functionality as the old one, plus a tutorial card
-// at the top prompting the user to try out the new profile management UI.
-const char kNewAvatarMenu[] = "new-avatar-menu";
-
} // namespace switches
« no previous file with comments | « components/signin/core/common/signin_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698