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 e51c77e79dfb238216904bb3cfacebf5885d480e..7089c8b46f4c20487e1a4c6bc7891ccf80964dc7 100644 |
--- a/components/signin/core/common/profile_management_switches.cc |
+++ b/components/signin/core/common/profile_management_switches.cc |
@@ -144,11 +144,21 @@ bool IsGoogleProfileInfo() { |
} |
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. |
Nikita (slow)
2014/08/15 14:56:13
That's not correct.
On Chrome OS "new profile man
dzhioev (left Google)
2014/08/15 15:31:33
I don't know for sure. Chrome OS checks only IsEna
|
+#if defined(OS_ANDROID) || defined(OS_IOS) || defined(OS_CHROMEOS) |
+ return false; |
+#else |
return GetProcessState() >= STATE_NEW_PROFILE_MANAGEMENT; |
+#endif |
} |
bool IsNewProfileManagementPreviewEnabled() { |