| Index: chrome/browser/ui/webui/ntp/ntp_login_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/ntp_login_handler.cc b/chrome/browser/ui/webui/ntp/ntp_login_handler.cc
|
| index b349d052d2d8578bc189c4d68987a768b9ce7a29..9530ec7fca833ebc9e2d4f02525dc646db6e23bc 100644
|
| --- a/chrome/browser/ui/webui/ntp/ntp_login_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/ntp_login_handler.cc
|
| @@ -12,6 +12,7 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "base/values.h"
|
| #include "chrome/browser/browser_process.h"
|
| +#include "chrome/browser/managed_mode.h"
|
| #include "chrome/browser/prefs/pref_notifier.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -137,7 +138,8 @@ void NTPLoginHandler::HandleShowSyncLoginUI(const ListValue* args) {
|
| RecordInHistogram(NTP_SIGN_IN_PROMO_CLICKED);
|
| }
|
| #endif
|
| - } else if (args->GetSize() == 4) {
|
| + } else if (args->GetSize() == 4 &&
|
| + !ManagedMode::IsInManagedMode()) {
|
| // The user is signed in, show the profiles menu.
|
| double x = 0;
|
| double y = 0;
|
|
|