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

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

Issue 524023002: Revert of Disable UI flags for non-desktop OSes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « chrome/browser/chromeos/profiles/profile_list_chromeos.cc ('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/profile_management_switches.cc
diff --git a/components/signin/core/common/profile_management_switches.cc b/components/signin/core/common/profile_management_switches.cc
index 7089c8b46f4c20487e1a4c6bc7891ccf80964dc7..e51c77e79dfb238216904bb3cfacebf5885d480e 100644
--- a/components/signin/core/common/profile_management_switches.cc
+++ b/components/signin/core/common/profile_management_switches.cc
@@ -144,21 +144,11 @@
}
bool IsNewAvatarMenu() {
- // NewAvatarMenu is only available on desktop.
-#if defined(OS_ANDROID) || defined(OS_IOS) || defined(OS_CHROMEOS)
- return false;
-#else
return GetProcessState() >= STATE_NEW_AVATAR_MENU;
-#endif
}
bool IsNewProfileManagement() {
- // NewProfileManagement is only available on desktop.
-#if defined(OS_ANDROID) || defined(OS_IOS) || defined(OS_CHROMEOS)
- return false;
-#else
return GetProcessState() >= STATE_NEW_PROFILE_MANAGEMENT;
-#endif
}
bool IsNewProfileManagementPreviewEnabled() {
« no previous file with comments | « chrome/browser/chromeos/profiles/profile_list_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698