Chromium Code Reviews| 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 f15e93985ad89340f7efd86d57ab9abe28a25ab5..2c97d3ec4a6894675bd9518789eb00dad449990c 100644 |
| --- a/components/signin/core/common/profile_management_switches.cc |
| +++ b/components/signin/core/common/profile_management_switches.cc |
| @@ -46,8 +46,11 @@ bool IsEnableWebBasedSignin() { |
| } |
| bool IsFastUserSwitching() { |
| + bool is_just_new_menu = |
| + CommandLine::ForCurrentProcess()->HasSwitch(switches::kNewAvatarMenu) && |
| + !IsNewProfileManagement(); |
| return CommandLine::ForCurrentProcess()->HasSwitch( |
| - switches::kFastUserSwitching); |
| + switches::kFastUserSwitching) || is_just_new_menu; |
|
Roger Tawa OOO till Jul 10th
2014/04/17 15:16:43
Rename variable maybe?
|is_just_new_menu| -> |use_
noms (inactive)
2014/04/17 15:20:10
Done.
|
| } |
| bool IsGoogleProfileInfo() { |